Feature request in 'hg diff'

Thomas Arendsen Hein thomas at intevation.de
Sun Jan 20 11:19:53 CST 2008


* dhruva <dhruvakm at gmail.com> [20080120 05:20]:
>  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 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.

+1 on adding this to diff, export, log -p etc.

In the meantime you can use extdiff to use GNU diff with this
option.

Thomas

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Osnabrueck - Register: Amtsgericht Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Mercurial-devel mailing list