[cvsnt] Re: Binary files are imported as text files (CVSNT 2.5.02 #2096)

Thomas Singer cvsnt at smartcvs.com
Mon Sep 26 11:22:44 BST 2005


> import -I! -W *.* -ko -W *.bin -kb

OK, I've tried this on command line:

| C:\temp\b>cvs import -I! * -ko -W *.png -kb dir vendor-tag release-tag
| cvs [import aborted]: tag '*.png' must not contain the characters '$,.:;@'

Why CVSNT treats the *.png as a tag?

--
Best regards,
Thomas Singer
_____________
smartcvs.com
smartsvn.com


Tony Hoyle schrieb:
> Thomas Singer wrote:
> 
>> Hi Tony,
>>
>> While running our SmartCVS regression tests I've found out that CVSNT 
>> 2.5.02 #2096 imports even binary files with the text file keyword 
>> substitution mode. This used to work in CVSNT 2.0.58d and still works 
>> in GNU CVS 1.11.14, our "reference" server.
> 
> 
> You're sending:
> 
> import -m initial import -ko -I! -W *.bin -k 'b'
> 
> You are forcing -ko in your upload - this overrides any wrappers 
> (forcing stuff in import is generally a bad idea).
> 
> There are at least two ways to achieve what it looks like you're trying 
> to do:
> 
> import -m initial import -k-v -I! -W *.bin -kb
> 
> or
> 
> import -I! -W *.* -ko -W *.bin -kb
> 
> Or the best way in this case - don't specify anything and let the server 
> handle it (*.bin is already default binary).
> 
> Tony




More information about the cvsnt mailing list