[cvsnt] cvs problem

Chris Allen chrisa at matrixscience.com
Fri Dec 22 14:21:26 GMT 2006


Hi Arthur,

>> What I am trying to achieve is when importing third party source 
>> trees, I would like all files to have "-ko" *except* binary files as 
>> specified by cvswrappers.  In other words, provide a "default" 
>> value should there be no cvswrapper entry for any given file.
> 
> In cvswrappers add a "default" line at the end * -ko

It has the same effect as specifying "-W" on the command line as 
mentioned before, ie. it appears to cause all the other cvswrapper 
entries to be ignored, corrupting binary files.

btw, comparing a dump of the client-server session when specifying this 
default wildcard or not, appears to show that when you do specify the 
wrapper option the CVSNT client is telling the GNU CVS server to set the 
keyword to be "-ko" for a file that has a "-kb" wrapper entry:

--- cvs-nowrap.txt	Fri Dec 22 14:06:22 2006
+++ cvs-wrap.txt	Fri Dec 22 14:04:09 2006
  Argument -W
  Argument *.lib -k 'b'
@@ -178,48 +178,72 @@
  Argument *.xls -k 'b'
  Argument -W
  Argument *.zip -k 'b'
  Argument -W
  Argument *.Z -k 'b'
+Argument -W
+Argument * -k 'o'
  Argument scratch/import_bin
  Argument SCRATCH_VENDBRN
  Argument SCRATCH_20061222
  Directory .
  /export/cvsroot/scratch/import_bin
-Kopt -kb
+Kopt -ko
  Modified my.lib
  u=rw,g=rw,o=rw

Regards,
Chris



More information about the cvsnt mailing list