This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: strange problems with cvs


Nuno Lopes kirjoitti:
I use CVS with cygwin a long time ago, but after a recent updte it stoped
working. I'm using pserver auth and the cygwin is installed with *DOS*
line-endings.


When I try to do something with cvs -1.11.17- (cvs up, cvs diff, etc..) it
simply returns:
": no such repository"


Normally if I close cygwin, run the setup again (without installing
anything) and opening cygwin again fixes the problem.

If I do a fresh checkout, it will checkout the files with *unix* file-endings, which isn't what I asked for..

Does anyone knows whats the problem here? I think it might be cause of the
release of the lastest dll version. (I update cygwin often..)


Seems like you have encountered fancy EOL problem. To be safe use unix line-endings since CVS is pretty picky about those.

And of course if you want to use DOS type line endings, use real win32 version of CVS.


It had always worked, so there might be some change in the code that caused this...
Anyway, the files in the cvs server use the unix EOL, but on my pc they use the win EOL. But cvs used to handle this for me..

This might be due difference between binary/textmode mounts in cygwin... Maybe they change for a reason or another in some of your updates...


I've encountered numerous problems with CVS due the line-endings... Any decent text editor should be handle both CR+LF or LF/CR only line-endings and preserving existing ones... If yours doesn't it's time to upgrade...


I have vim, but I still like to use notepad, which only works with \r\n...
Is there anything I can do to help solving this problem ASAP?

Getting a bit offtopic, but I personally use scite, or to be precise wscite, scintilla based editor. Small, extremely lightweight and fast, has decent code colouring, block wrapping and such. And best of all, works well with different line-endings.


Of course there is some good alternatives in Cygwin distribution also...

--

Jani Tiainen


-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]