public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* cvs failing due to something adding ^m to my CVSROOT
@ 2002-04-08 12:12 Gord Wait
  0 siblings, 0 replies; only message in thread
From: Gord Wait @ 2002-04-08 12:12 UTC (permalink / raw)
  To: cygwin


I've been all over the faq, and docs, and see lots of discussion on how to avoid
the tar pit of Carriage Return and Linefeed, but I'm stumped - 
after my current update of cygwin I can no longer access my cvs server, cause something
tacks a ^M on to my cvs root. Halp!
Here's my setup: (which was working)

last weeks cygwin on a win2k PC
cvs server on a (slackware) linux box. 

From the cygwin side a cvs status gets me:

cvs status >& junk
contents of junk:

Cannot access /home/cvsadmin/cvsroot^M/CVSROOT
No such file or directory

Note I had to manually add a fake ^M to the above line cause cutting and pasting
in windows treated the ^M I see in my junk file to turn into a new line instead..

I've got CVSROOT set in my .profile and .bashrc, and in my user profile on w2k..
If I manually type in a cvsroot it gets a bit further, but not much:
(names changed to protect the guilty:

cvs -d :pserver:myname@1.2.3.4:/home/cvsadmin/cvsroot status >& junk
contents of junk:

cvs server: Examining .
cvs server: failed to create lock directory for `/home/cvsadmin/cvsroot/stuff/aproject/src
' (/home/cvsadmin/cvsroot/stuff/aproject/src^M/#cvs.lock): No such file or directory
cvs server: failed to obtain dir lock in repository `/home/cvsadmin/cvsroot/stuff/aproject/src^M'
cvs [server aborted]: read lock failed - giving up

again, I had to edit the email above and type in a fake ^M to show how it really looks..

I'll keep reading the CrLf docs, but I'm currently stumped..
My mount of cygwin is binmode,
so is /usr/bin where cvs lives
my working directory is also binmode

I'm going to try mucking with these mount modes to see what happens next..
I'm guessing the info is there in the docs, it's just that I don't get it..
Help!


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-04-08 19:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-08 12:12 cvs failing due to something adding ^m to my CVSROOT Gord Wait

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).