[cvsnt] Corrupted file?

Tony Hoyle tony.hoyle at march-hare.com
Fri Nov 2 23:25:38 GMT 2007


Marc Farrow wrote:
> I have a file with some strange end of line characters in it.  I am using a
> program called CVS2SVN to convert my CVS repository to SVN, but CVSNT is not
> supported.  Can anyone tell me how to "fix" this file manually?  Below is
> some correspondence I had.
> 
> Also, while I am posting here, can anyone undeniably verify that CVSNT and
> prove that CVSNT allows CRs (carriage returns) on these lines?
> 
This is often caused by using cygwin clients against cvs servers or 
using sandboxes shared between unix and windows.  cvsnt filters such 
errors out and avoids corrupting the repository (and also works the 
other way, hiding the corruption where it can so the file checks out 
cleanly) however the corruption is basically permanent as it's unsafe to 
try to modify the file in many cases.

The conversion script should cope with this and filter them out as it's 
far more common to see it on cvs servers than cvsnt servers (where 
you'll only normally see if if the repository was inherited from an 
older server).

Tony


More information about the cvsnt mailing list