From f91b15fbd6a7d0b9dcfb642d35238df8f0b51202 Mon Sep 17 00:00:00 2001 From: Wayne Davison Date: Thu, 17 Feb 2011 22:07:20 -0800 Subject: [PATCH] Add .hg dir exclude to default_cvsignore list. Fixes bug 7957. --- exclude.c | 2 +- rsync.yo | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exclude.c b/exclude.c index e6490b09..6101dda8 100644 --- a/exclude.c +++ b/exclude.c @@ -924,7 +924,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 mflags) { diff --git a/rsync.yo b/rsync.yo index 0bb9b58b..1756baa9 100644 --- a/rsync.yo +++ b/rsync.yo @@ -1361,7 +1361,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 -- 2.47.3