Aus Siduction Wiki DE
Wechseln zu: Navigation, Suche

quilt - tool to manage series of patches


quilt [-h] command [options]


Quilt is a tool to manage large sets of patches by keeping track of the changes each patch makes. Patches can be applied, unapplied, refreshed, etc. The key philosophical concept is that your primary output is patches.

With quilt, all work occurs within a single directory tree. Commands can be be invoked from anywhere within the source tree. They are of the form quilt cmd similar to CVS, svn or git commands. They can be abbreviated as long as the specified part of the command is unique. All commands print some help text with quilt cmd -h.

Quilt manages a stack of patches. Patches are applied incrementally on top of the base tree plus all preceding patches. They can be pushed on top of the stack (quilt push), and popped off the stack (quilt pop). Commands are available for querying the contents of the series file (quilt series, see below), the contents of the stack (quilt applied, quilt previous, quilt top), and the patches that are not applied at a particular moment (quilt next, quilt unapplied). By default, most commands apply to the topmost patch on the stack.


Quilt is configured via a configuration file. The user configuration is located in ~/.quiltrc, the general configuration is located in /etc/quilt.quiltrc. For options have a look in quilt for Debian Maintainers or the man page.


QUILT_DIFF_ARGS="--no-timestamps --no-index --color=auto"
QUILT_REFRESH_ARGS="--no-timestamps --no-index --backup"