recent cvs cygwin newline windows problems. How to solve?

Posted by user72150 on Stack Overflow See other posts from Stack Overflow or by user72150
Published on 2010-03-18T15:39:40Z Indexed on 2010/03/18 15:41 UTC
Read the original article Hit count: 592

Filed under:
|
|

Hi all,

One of our projects still uses CVS.

Recently (sometime in the past year) the Cygwin cvs client (currently using 1.12.13) has given me problems when I update. I suspect the problem stems from windows/unix newline differences. It worked for years without a problem.

Here are the symptoms. When I update from the command line, I see messages like these:

"no such repository" messages

/cvshome
: no such repository

False-"Modified" due to newline differences

M java/com/foo/ekm/value/EkmContainerInstance.java

False-"Conflicts"

cvs update: Updating java/com/foo/ekm/value/XWiki
cvs update: move away `java/com/foo/ekm/value/XWiki/XWikiContainerInstance.java'; it is in the way
C java/com/foo/ekm/value/XWiki/XWikiContainerInstance.java

Note the for the 'no such repository' error, I found that cd-ing into the 'CVS/' folder and running 'dos2unix Root' updates correctly. I'm not sure how this file (or Repository or Entries) gets whacked.

I don't remember when these problems started. I have a workaround: updating from our IDE (Intellij Idea) always succeeds

Yes, I know we should switch to (svn|git|mercurial), but does anyone know what causes these problems? when they were introduced? workarounds?

thanks,

bill

© Stack Overflow or respective owner

Related posts about cvs

Related posts about cygwin