summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorRaphaƫl Hertzog <hertzog@debian.org>2009-12-30 21:29:35 +0100
committerJean Delvare <jdelvare@suse.de>2010-01-23 17:51:08 +0100
commitebbbdc87e806debd7c2bfb6196fb040be877dd61 (patch)
tree7b8056a4bff79a0cbca1569746cf3d2febf6a8ff /doc
parentb5cfb0570f01b3ae42acff3c6c7a9006a28bd48b (diff)
downloadquilt-ebbbdc87e806debd7c2bfb6196fb040be877dd61.tar.gz
Remember QUILT_PATCHES and QUILT_SERIES by storing them in .pc
When the quilt db is created/initialized, QUILT_PATCHES and QUILT_SERIES are written down in .pc/.quilt_{patches,series} and in subsequent invocations of quilt those values are reused if the environmement variables are no longer set. When identifying the root directory, quilt now also looks for the existence of .pc and not only of QUILT_PATCHES since that value might not be set and we must be able to look it up from .pc/.quilt_patches instead. Based on a preliminary patch made by Goswin von Brederlow <goswin-v-b@web.de> (see http://bugs.debian.org/557623).
Diffstat (limited to 'doc')
-rw-r--r--doc/main.tex8
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/main.tex b/doc/main.tex
index 698b89c..30acd94 100644
--- a/doc/main.tex
+++ b/doc/main.tex
@@ -175,7 +175,9 @@ The remainder of this document discusses the script collection
With quilt, all work occurs within a single directory tree. Since
version 0.30, commands can be invoked from anywhere within the source
-tree. Commands are of the form ``\quilt{cmd}'', similar to CVS
+tree (the directory tree is scanned upwards until either the
+\textsf{.pc} or the \textsf{patches} directory is found).
+Commands are of the form ``\quilt{cmd}'', similar to CVS
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}''.
@@ -198,7 +200,9 @@ After the refresh, the patch and the working state are the same.
Patch files are located in the \textsf{patches} sub-directory of the
source tree (see Figure~\ref{fig:dir-layout}). The \textsf{QUILT\_PATCHES}
-environment variable can be used to override this location. The
+environment variable can be used to override this location and quilt
+will remember this location by storing its value in the
+\textsf{.pc/.quilt\_patches} file. The
\textsf{patches} directory may contain sub-directories.
\textsf{patches} may also be a symbolic link instead of a directory.