[cvsnt] Re: Changing a file from binary to text...

Tony Hoyle tmh at nodomain.org
Sat Jan 3 00:39:14 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.


Bo Berglund wrote:
> At this time I would like to change the mode of the dfm files such
> that when I commit a new revision (which is now text) I want to tell
> CVS that *from now on* this file is in text mode. This means that
> whenever an update is done in the future CVS will happily merge the
> changes for me and if I request a revision from before the mode change
> it will use whatever method it applies to binary files.
> This of course forces the CVS server to somehow store the change in
> file mode in the RCS file such that it can use the correct handling
> depending on revision.
> 
> Is this at all possible or can I forget it forever?

There are two ways - the first is just to do an admin -kkv before 
checking in.  In anything reasonably recent (most 2.0.x IIRC) it'll do 
the right thing.  In the latest nightly builds you can also remove the 
old file and cvs add the new file and it'll do the same thing.

Tony




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