[PATCH] Add .svn to the exclude list for --cvs-exclude

jw schultz jw at pegasys.ws
Thu Jan 9 00:03:00 EST 2003


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 at pegasys.ws

		Remember Cernan and Schmitt



More information about the rsync mailing list