[issue2291] ignore whitespace on diff-producing or diff-based operations

Antoine Pitrou bugs at mercurial.selenic.com
Sun Jul 18 15:39:42 UTC 2010


New submission from Antoine Pitrou <pitrou at free.fr>:

Operations producing diffs or based on diffs should be able to ignore
whitespace changes, based on an additional command-line option.
My favourite targets for this would be "hg log -p" and "hg ann". This is
very useful when your project has had whitespace-changing or
indentation-changing commits (we have that in CPython).

For example, SVN allows "svn ann -x -w" which will ignore whitespace changes.

----------
messages: 13126
nosy: djc, pitrou
priority: wish
status: unread
title: ignore whitespace on diff-producing or diff-based operations

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2291>
____________________________________________________


More information about the Mercurial-devel mailing list