[cvsnt-dev] [PATCH] .cvsignore.local

Andreas Tscharner starfire at dplanet.ch
Sat Jul 8 18:04:43 UTC 2006


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hello Tony,

As I've written in support.cvsnt, here is the patch for the
.cvsignore.local file.
Apply it if you like.

Best regards
	Andreas
-- 
Andreas Tscharner                                   starfire at dplanet.ch
-----------------------------------------------------------------------
Except for 75% of the women, everyone in the whole world wants to have
sex.                                                  -- Ellyn Mustard
-------------- next part --------------
Index: src/cvs.h
===================================================================
RCS file: /usr/local/cvs/cvsnt/src/cvs.h,v
retrieving revision 1.93.2.208
diff -u -r1.93.2.208 cvs.h
--- src/cvs.h	8 May 2006 13:17:08 -0000	1.93.2.208
+++ src/cvs.h	8 Jul 2006 17:32:37 -0000
@@ -223,6 +223,7 @@
 #define	CVSEXT_LOG	",t"
 #define	CVSPREFIX	",,"
 #define CVSDOTIGNORE	".cvsignore"
+#define CVSIGNORELOCAL	".cvsignore.local"
 #define CVSDOTWRAPPER   ".cvswrappers"
 
 /* Command attributes -- see function lookup_command_attribute(). */
Index: src/ignore.cpp
===================================================================
RCS file: /usr/local/cvs/cvsnt/src/ignore.c,v
retrieving revision 1.12.2.24
diff -u -r1.12.2.24 ignore.cpp
--- src/ignore.cpp	1 Jun 2006 11:59:13 -0000	1.12.2.24
+++ src/ignore.cpp	8 Jul 2006 17:33:37 -0000
@@ -409,6 +409,7 @@
     }
 
     ign_add_file (CVSDOTIGNORE, 1);
+    ign_add_file (CVSIGNORELOCAL, 1);
     wrap_add_file (CVSDOTWRAPPER, true);
 
     /* Make a list for the files.  */
Index: src/import.cpp
===================================================================
RCS file: /usr/local/cvs/cvsnt/src/import.c,v
retrieving revision 1.38.2.90
diff -u -r1.38.2.90 import.cpp
--- src/import.cpp	1 Jun 2006 12:00:09 -0000	1.38.2.90
+++ src/import.cpp	8 Jul 2006 17:34:40 -0000
@@ -542,8 +542,10 @@
 	}
 
     /* first, load up any per-directory ignore lists */
-	if(!ignore_cvsignore)
+	if(!ignore_cvsignore) {
 		ign_add_file (CVSDOTIGNORE, 1);
+		ign_add_file (CVSIGNORELOCAL, 1);
+	};
     wrap_add_file (CVSDOTWRAPPER, true);
 
     if ((dirp = opendir (".")) == NULL)


More information about the cvsnt-dev mailing list