[cvsnt] Re: help of file format

Tony Hoyle tmh at nodomain.org
Mon Aug 9 13:56:31 BST 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.


pierce li wrote:

> Dear all, We are using CVSNT 2.0.51a with WinCVS 1.3.17.2. We have a
> .cpp source file and some guy deleted it and re-added it as a Unicode
> file. That cause it unable to be compiled. the problem is we cannot
> make it back to text file at any way. We do not want to entirely
> remove it on server because we still need the old version info. I've
> tried re-added it as text file, or remove all the versions after the
> wrong operation. but it seems that CVS can remember it as a Unicode
> file at all the time! Who can help me?
> 
To convert you have to change its type:

cvs admin -kkv <file>
cvs commit -f <file>
cvs commit -f <file>

(you may not need to commit twice but in the past it has helped).

The other way is just to delete/re-add it with a -kkv switch.

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