Re: Small question on "CVS Diff"

Robert Roessler <[email protected]> Mon, 04 Jan 2010 17:06:31 -0800
Newsgroups gmane.comp.version-control.cvs.tortoisecvs.user
Organization Robert's High-performance Software
Message-ID <[email protected]>
Arthur Barrett wrote:
>...
> Since each file can feasibly have different line endings it's probably
> better if TortoiseCVS examines the line endings of the file being
> diff'ed.  Regardless of the format that CVSNT creates the file in - many
> windows programs will automatically re-write it with DOS line endings.
>
> The --lf option should be considered 'likely to disappear' in the
> future, it's not documented.  If a persons workflow requires the use
> linux line endings on windows then I encourage them to upgrade to CVSNT
> server and mark the files as -kL

Just looking at the needs of a user of TCVS, if I have checked out a 
project that is based on the "other" line endings from what are in use 
on my workstation, and chosen to keep the files in their native format, 
then that means I accept the complications of using only local tools 
that will work with and respect the files' format.

If the "standard" behavior of pulling down a temp copy for the diff 
operation does not follow whatever choice (WRT line endings) I made when 
I checked out the project, then that is "broken".

Clearly, if there are implementation difficulties with making this 
happen, then either we live with the unfortunate behavior, or Torsten, 
myself, or someone attempts to fix it... but surely the answer is not 
that I have wrong or invalid expectations.

Robert Roessler

------------------------------------------------------------------------------
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