Re: Small question on "CVS Diff"

Torsten Martinsen <[email protected]> Mon, 04 Jan 2010 21:17:47 +0100
Newsgroups gmane.comp.version-control.cvs.tortoisecvs.user
Message-ID <[email protected]>
Robert Roessler wrote:
> I am experiencing a minor inconvenience when I perform a "CVS Diff" 
> operation from the TCVS context menu - I am on Windows 7 x64 and using 
> the latest RC of TCVS (with the last bundled CVSNT client package). The 
> project is primarily a Unix/Linux one, and so uses a different line 
> termination convention than is used locally.
>
> Even though I used the option during checkout to leave the original 
> line-endings intact, every time a new copy is downloaded from the CVS 
> server to perform the diff against my local copy, it always gets Windows 
> line endings.
>   
I have identified the problem: When detecting the format of the sandbox 
(DOS/UNIX), TortoiseCVS looks at the line endings of the CVS/Root file. 
In previous CVSNT releases, this file had the same line endings as the 
sandbox.
However, it appears that it now always has CRLF line endings - leading 
TortoiseCVS to believe that the sandbox is in DOS format.

Arthur, do you have any idea why this has changed?

-Torsten

------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev