LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] CVS and CRLFs

[ILUG] CVS and CRLFs

Bryan O'Donoghue bryano at europlex.ie
Fri Apr 23 16:19:02 IST 2004


Dermot Daly wrote:
> Hi All,
> I'm sure this is a well trodden path with those of you who are CVS
> gurus.
> 
> I've recently moved to Linux as my main desktop, but my colleagues are
> still using Windows.
> 
> Is there a way I can tell CVS to check in and out all of my files with
> windows style end of lines?
> 
> If I don't, all my changes will look like I changed every line in a
> file.
> 
> Any help would be appreciated.
> 
> Cheers,
> Dermot.
> 


Err.

That's down to your editor squire.

I check stuff in/out of cvs and vim the only true editor, automagically 
recognises a file as being of type dos if it is and preserves the format.

So your editor is probably saving off the file as Unix as opposed to DOS, just 
tell it not to do that and you should be fine.
	

-- 
Bryan O'Donoghue
Embedded Software Engineer

Europlex Technologies Ltd
Clonshaugh Business & Technology Park
Dublin 17
Ireland

T:+353 (0) 1 2500500
F:+353 (0) 1 2500590
E:bryano at euoplex.ie
W:www.europlex.ie




More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell