Re: Checkout with \r's

2003-11-14 Thread Jim
Supposing something doesn't make it so. That's exactly my point. -Larry Jones Honey, are we out of aspirin again? -- Calvin's Dad ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs

Re: Checkout without \r's

2003-11-12 Thread Ed Avis
You could compile cvs for Cygwin - its Unix-like environment doesn't put \r into text files. (You may need to set your Cygwin filesystem as 'binary' - I don't know if that still applies.) But the simplest way is probably to check out as normal and then run the files through dos2unix or a Perl

Re: Checkout without \r's

2003-11-12 Thread Larry Jones
Jim writes: That's an assumption about the file that is incorrect... it didn't start with \r's in it... and I need them to not be there. Then it's not a text file, by definition, no matter how much you think it is. -Larry Jones Hello, local Navy recruitment office? Yes, this is an

Re: Checkout with \r's

2003-11-12 Thread Larry Jones
Jim writes: How can I check out a file on Linux with \r's ? By checking it in on Linux with \r's. Either the \r's are part of the line separator or they're part of the data -- you can't have it both ways. As part of a build process I use a SHA1 of the source as part of the versioning

Re: Checkout without \r's

2003-11-12 Thread Jim
Okay - under Linux, 'how do I checkout WITH \r's?' that's easy - put em in the file, check it in, and check it out... but woe to the windows user - who now get's \r\r\n's. under windows, how to do the same? Well if I have complete control over all options, use cygwin CVS and UNIX style file

Re: Checkout without \r's

2003-11-12 Thread Andy Jones
wincvs has an option to check files out with *NIX line terminators. Maybe this will do what you want. But really that is not the point. Inherent in the idea of a text file is that you should be able to edit it. The convention is that *NIX and DOS terminate the line endings differently on a

Re: Checkout with \r's

2003-11-12 Thread Geoff Beier
On Tue, 11 Nov 2003 20:40:59 -0800, Jim wrote How can I check out a file on Linux with \r's ? As part of a build process I use a SHA1 of the source as part of the versioning information. The same code on both windows and linux should generate the same SHA1. You need to normalize your text

Re: Checkout without \r's

2003-11-12 Thread Larry Jones
Jim writes: If one is developing and working with both platforms, his tools better be able to work with each other's TEXT without difficulty. No, you just need to learn to use the tools on the platform they were intended for instead of pretending that the two platforms are interchangeable.

Re: Checkout with \r's

2003-11-12 Thread Larry Jones
Geoff Beier writes: You could of course also use the cygwin client on Windows and configure it to use text files with UNIX line endings. This was the default at one time. It's also an extraordinarily bad idea. Trying to pretend that the native text file format is something other than what it

Checkout without \r's

2003-11-11 Thread Jim
Under windows how can I checkout/update a file without \r's being stuffed in? It's definatly a source file and uses keywords to track version information. Jim ___ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs

Re: Checkout without \r's

2003-11-11 Thread Larry Jones
Jim writes: Under windows how can I checkout/update a file without \r's being stuffed in? It's definatly a source file and uses keywords to track version information. If it's a source file, then it's a text file. On Windows, text files have \r's in them. -Larry Jones I wonder what's on

Re: Checkout without \r's

2003-11-11 Thread Jim
- Original Message - From: Larry Jones [EMAIL PROTECTED] To: Jim [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 2:42 PM Subject: Re: Checkout without \r's Jim writes: Under windows how can I checkout/update a file without \r's being stuffed in? It's

Re: Checkout with \r's

2003-11-11 Thread Jim
Message - From: Jim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 6:39 PM Subject: Re: Checkout without \r's - Original Message - From: Larry Jones [EMAIL PROTECTED] To: Jim [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 2:42 PM