Feature request in 'hg diff'

Mark A. Flacy mflacy at verizon.net
Mon Jan 21 06:38:54 UTC 2008


On 2008.01.19 22:15, dhruva wrote:
> Hello,
>  Since I keep working with HG on top of a CVS repo, I keep getting
> into EOL differences. I would like to ignore them. Basically, if the
> diff is only in EOL, I (and mercurial) would like to treat the file as
> not changed.

I guess that you've never gotten a bash/sh script that has been run  
through a "let's add crlf to every line" Windows editor.

>  I am currently using the external diff (GNU diff) with the option
> '--strip-trailing-cr' but this does not affect the way mercurial
> treats changes. I can use if only to view the changes.

I believe that mercurial is doing the right thing.


-- 
Mark A. Flacy




More information about the Mercurial mailing list