Hello, The --exclude-vcs flag excludes version control files from systems such as CVS, Subversion, and git; it would be very useful if the flag also excluded files from Mercurial, Darcs, and Bazaar. Those three are popular VCS's and Bazaar is now a GNU project.
The patch below adds this support:
[snip]
--- tar.c 2008-04-14 21:03:13.000000000 +0900
+++ tar-more-vcss.c 2008-06-12 22:32:33.000000000 +0900
@@ -849,6 +849,16 @@
"=RELEASE-ID",
"=meta-update",
"=update",
+ /* Bazaar */
+ ".bzr",
+ ".bzrignore",
+ ".bzrtags",
+ /* Mercurial */
+ ".hg",
+ ".hgignore",
+ ".hgtags",
+ /* darcs */
+ "_darcs",
NULL
};
[snip]
I'm not sure that the above patterns would exclude all the files used by
those systems, but they would certainly eliminate a lot of cruft.
Thanks,
Dan Drake
--
Ceci n'est pas une .signature.
signature.asc
Description: Digital signature
