Package: quilt Version: 0.45-6 Severity: normal Tags: patch Hi,
here is how I came across this problem: I downloaded a debian source package with some patches in debian/patches, I set QUILT_PATCHES accordingly, did "quilt snapshot" to prepare the snapshot, and then ran "fakeroot debian/rules configure" to launch auto* stuff with appropriate options. But when it came to "quilt push -a", the version check told me to upgrade in the first place ("quilt upgrade") since my files where created with an older version of quilt, which is not the case. To my understanding, as "new" and "push", "snapshot" should include a "create_db" call, so that the .pc directory is created with the appropriate version file, which is missing otherwise. The attached patch gave me satisfaction, but I'm not sure it does exactly what is needed. Also attached, a tiny typo fix (s/ouput/output/) in the documentation, which isn't worth another bugreport IMHO. Cheers, -- Cyril Brulebois
--- quilt/snapshot.in.orig 2006-12-16 22:28:06.000000000 +0100 +++ quilt/snapshot.in 2006-12-16 22:30:37.000000000 +0100 @@ -74,6 +74,7 @@ fi # Save current working state +create_db mkdir -p $QUILT_PC/$snap_subdir for patch in $(applied_patches); do files_in_patch $patch
--- doc/main.tex.orig 2006-12-16 22:35:18.000000000 +0100 +++ doc/main.tex 2006-12-16 22:35:31.000000000 +0100 @@ -576,7 +576,7 @@ approach will often result in false positives, the latter approach may result in false negatives (that is, \quilt{graph} may overlook dependencies). -} The ouput of this command can be visualized using the tools from AT\&T +} The output of this command can be visualized using the tools from AT\&T Research's Graph Visualization Project (GraphViz, \url{http://www.graphviz.org/}). The \quilt{graph} command supports different kinds of graphs.