[cvsnt] Re: How to prevent CVSNT from merging binary files?

Ryan J Ollos ryno at snark.apl.washington.edu
Fri Jan 2 16:26:51 GMT 2004


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.


----- Original Message -----

>>From: "Hartmut Honisch" <hartmut_honisch at web.de>
>>To: <cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook>
>>Sent: Thursday, December 18, 2003 12:15 PM
>>Subject: [cvsnt] How to prevent CVSNT from merging binary files?
>>
>>
>>    
>>
>>>I have a file in my repository that I've declared as 
>>>      
>>>
>>"binary" (-kb). When
>>    
>>
>>>that file changes in the repository, CVSNT merges the 
>>>      
>>>
>>changes into the
>>    
>>
>>>working copy of my local file, just as if it was a normal 
>>>      
>>>
>>text file. I've
>>    
>>
>>>always thought that -kb tells CVSNT _not_ to merge a file - 
>>>      
>>>
>>but apparently
>>    
>>
>>>it does it anyway.
>>>
>>>Is this the desired behaviour, and if so, how do I prevent 
>>>      
>>>
>>CVSNT from
>>    
>>
>>>merging repository changes into my modified working copy?
>>>
>>>I use 2.0.14 on Win2K SP4
>>>
>>>-Hartmut
>>>

The -kb option disables keyword expansion and line ending conversion, 
which is disireable for binary files in the archive.  It should have no 
effect on how your file gets updated.  I'm not sure the best way to flag 
a file to not be updated, for instance when you update the whole 
directory containing that file, but this seems like a useful thing to 
know if anyone else can provide the answer.

Ryan




More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook