[cvsnt] Re: Changing a file from binary to text...
Tony Hoyle
tmh at nodomain.org
Sat Jan 3 00:39:14 GMT 2004
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