Jon Middleton
2003-Jan-08 23:25 UTC
[PATCH] Add .svn to the exclude list for --cvs-exclude
Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20030108/7b6ccd16/attachment.bin
On Wed, Jan 08, 2003 at 11:24:03PM +0000, Jon Middleton wrote:> Hi, > > The attached patch adds the Subversion adm directory (.svn) to the > list of excludes for the --cvs-exclude option and also updates the man > page. > > (please CC me on replies as I'm not on this list) >Looks mostly good to me. I think it should apply ok as there hasn't been much change in cvs. I wonder if it shouldn't be ".svn/". I also don't care much for the inconstistant puctuation. Is the .svn directory the only addition appropriate for subversion? No new file prefixes or suffixes from update conflicts? Also, it is the rsync.yo file that needs updating. rsync.1 is derived via yodl.> -- > Jon > > "First things first -- but not necessarily in that order" > -- The Doctor, "Doctor Who" > diff -Nur -x 'debian*' -x shconfig -x '*~' rsync-2.5.5/exclude.c rsync-2.5.5-modified/exclude.c > --- rsync-2.5.5/exclude.c 2002-02-18 19:10:28.000000000 +0000 > +++ rsync-2.5.5-modified/exclude.c 2003-01-08 22:41:10.000000000 +0000 > @@ -390,7 +390,7 @@ > "tags","TAGS",".make.state",".nse_depinfo", > "*~", "#*", ".#*", ",*", "*.old", "*.bak", "*.BAK", "*.orig", > "*.rej", ".del-*", "*.a", "*.o", "*.obj", "*.so", "*.Z", "*.elc", "*.ln", > - "core",NULL}; > + "core", ".svn",NULL}; > > > > diff -Nur -x 'debian*' -x shconfig -x '*~' rsync-2.5.5/rsync.1 rsync-2.5.5-modified/rsync.1 > --- rsync-2.5.5/rsync.1 2002-02-06 21:21:19.000000000 +0000 > +++ rsync-2.5.5-modified/rsync.1 2003-01-08 22:59:19.000000000 +0000 > @@ -640,7 +640,7 @@ > .RS > RCS SCCS CVS CVS\&.adm RCSLOG cvslog\&.* tags TAGS \&.make\&.state > \&.nse_depinfo *~ #* \&.#* ,* *\&.old *\&.bak *\&.BAK *\&.orig *\&.rej \&.del-* > -*\&.a *\&.o *\&.obj *\&.so *\&.Z *\&.elc *\&.ln core > +*\&.a *\&.o *\&.obj *\&.so *\&.Z *\&.elc *\&.ln .svn core > .RE > .IP > then files listed in a $HOME/\&.cvsignore are added to the list and any-- ________________________________________________________________ J.W. Schultz Pegasystems Technologies email address: jw@pegasys.ws Remember Cernan and Schmitt
Jon Middleton
2003-Jan-09 00:28 UTC
[PATCH] Add .svn to the exclude list for --cvs-exclude
Skipped content of type multipart/mixed-------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available Url : http://lists.samba.org/archive/rsync/attachments/20030109/7ca9f4a0/attachment.bin
Possibly Parallel Threads
- DO NOT REPLY [Bug 7927] New: Rsync does not sync folders named "tags"
- AW: [rsync-announce] Rsync 2.6.4 released
- rsync, --cvs-exclude option.
- [ycui1@bloomberg.com: Re: rsync bug?? (rsync fails when -C is used).]
- Bug#306368: filter rules are too modern for remote rsync (which is 2.5.6)