From: Luke D. <cod...@ho...> - 2002-05-27 03:56:22
|
The Windows CVS client that I am talking about does not do any explicit translation or canonicalization in the sense that you mean: it simply opens files in text mode whenever reading or writing a non-binary file. This means that when you check in a file that has DOS line endings on a Unix system (or Cygwin/MSYS), the \r's will be stored on the server, and when checking out the file on Windows, the file will be opened in text mode so "\r\n" becomes "\r\r\n". Here I am talking about the "official" CVS client from cvshome.org, and the same happens with the client that comes with TortoiseCVS (I don't know about WinCVS). Luke ----- Original Message ----- From: "Wu Yongwei" <ad...@ne...> To: <min...@li...> Sent: Monday, May 27, 2002 11:29 AM Subject: Re: [MinGW-dvlpr] Re: [MinGW-cvs] utils/res2coff objimage.c,1.1,1.2 protos.h,1.1,1.2 readme.1st,1.1,1.2 res2coff.c,1.1,1.2 res2coff.h,1.1,1.2 resimage.c,1.1,1.2 > Sorry if I make any misunderstandings, but I think WinCVS canocalize the > line-ending when checking in/out. Changing the line-ending locally should be > meaningless, unless you check out source in a Unix environment (like Linux > or Cygwin) and still find source has CRLF instead of LF. Text files stored > on *NIX CVS servers should always have Unix line endings. > > Best regards, > > Wu Yongwei > > Luke Dunstan <cod...@ho...> wrote: > > > > All I did was change the line endings of these text files to Unix format, > as > > the log message says. I discussed earlier the fact that Windows CVS > clients > > do not handle these files properly because they were checked in using a > > binary-mode CVS client with DOS line endings. > > > _______________________________________________________________ > > Don't miss the 2002 Sprint PCS Application Developer's Conference > August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm > > _______________________________________________ > MinGW-dvlpr mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw-dvlpr > |