From: Wayne Davison Date: Fri, 18 Feb 2011 06:07:20 +0000 (-0800) Subject: Add .hg dir exclude to default_cvsignore list. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/86e90c58f46dd13254e0dc38b9eea37589ace457 Add .hg dir exclude to default_cvsignore list. Fixes bug 7957. --- diff --git a/exclude.c b/exclude.c index a8e830f1..16b2a562 100644 --- a/exclude.c +++ b/exclude.c @@ -1036,7 +1036,7 @@ static char default_cvsignore[] = " *.a *.olb *.o *.obj *.so *.exe" " *.Z *.elc *.ln core" /* The rest we added to suit ourself. */ - " .svn/ .git/ .bzr/"; + " .svn/ .git/ .hg/ .bzr/"; static void get_cvs_excludes(uint32 rflags) { diff --git a/rsync.yo b/rsync.yo index af95b851..65daed54 100644 --- a/rsync.yo +++ b/rsync.yo @@ -1489,7 +1489,7 @@ initial items are marked as perishable -- see the FILTER RULES section): quote(quote(tt(RCS SCCS CVS CVS.adm RCSLOG cvslog.* tags TAGS .make.state .nse_depinfo *~ #* .#* ,* _$* *$ *.old *.bak *.BAK *.orig *.rej .del-* -*.a *.olb *.o *.obj *.so *.exe *.Z *.elc *.ln core .svn/ .git/ .bzr/))) +*.a *.olb *.o *.obj *.so *.exe *.Z *.elc *.ln core .svn/ .git/ .hg/ .bzr/))) then, files listed in a $HOME/.cvsignore are added to the list and any files listed in the CVSIGNORE environment variable (all cvsignore names