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.
Concerning the version: C:\3RProj\MP\SrvMillPlus>cvs ver Client: Concurrent Versions System (CVSNT) 2.0.41a (client/server) Server: Concurrent Versions System (CVSNT) 2.0.41 (client/server) Is this too old? I tested the following sequence: 1) Deleted file in the sandbox and updated. I received a file marked as binary but with good Windows CRLF line endings (because the file was actually already converted by the Delphi IDE but still stored as binary) 2) Issued cvs update -kt <filename> This caused WinCvs to change the icon from binary to text but the file actually did not change color (so it was not considered as altered) 3) I opened the file in UltraEdit and found that all line endings are now CRCRLF. So it looks like the local file now got all ofg its LF chars epanded to CRLF while retaining the existing CR... 4) It was not possible to commit this file because it was not modified. I tried a commit anyway but it resulted in nothing. If I use commit -f will then the extra CR chars be removed or will these be retained? 5) Now I deleted the file in the sandbox again and did an update and got back the original binary file also marked as such in WinCvs. What am I doing wrong here? Maybe it is not possible to change the file type if it has been changed physically already but committed still as binary??? Bo -----Original Message----- From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf Of Tony Hoyle Sent: den 25 november 2004 13:46 To: cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook Subject: [cvsnt] Re: How to convert binary files to text? Bo Berglund wrote: > We have a number of Delphi form files (*.dfm) that have been originally > stored in CVS as binary. Now they have been converted to text by Delphi > but they are still binary in CVS and we want to change this so that the > files can be diffed etc. > > So the files themselves are OK in the repository as binary representations > of Windows text files, the line endings inside these files are CRLF and > this is also stored as such in the RCS files since they are marked binary. > > I tried to issue the following command to tell CVS that the files are text: > > cvs admin -kt <filename> Ahh so you're using an older CVSNT. > But when I now check out the file it has CRCRLF line endings even though no > actual change was done on the file itself (same revision number etc). Yes, 'cvs admin -k' potentially breaks all the older copies - that's partly why I got rid of it. Depending on the CVS/CVSNT that did the commits of the earlier versions, you can get away with the admin command(for a while CVSNT has stored the -k option per-revision and that'll preserve the state for any files committed with those versions... I think that's around 2.0.14 and later). > Is there another command to use in order to change the file type? With the new server, just use update -kt then commit -f. Tony _______________________________________________ cvsnt mailing list cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs