Bug in 'hg diff'

Paul Sargent psarge at gmail.com
Mon Jul 23 17:38:58 CDT 2007


On 23 Jul 2007, at 23:24, Will Maier wrote:

> On Mon, Jul 23, 2007 at 11:57:51PM +0200, Guido Ostkamp wrote:
>> it appears the '-b' option (ignore whitespace changes) of 'hg
>> diff' is not working at all.
>
> You're misreading -b:
>
>     $ hg help diff
>     [...]
>      -b --ignore-space-change  ignore changes in the amount of  
> white space
>                                                      ^^^^^^

Isn't a '\n' changing into '\n  ' a change in the "amount" of white  
space?

or if you only want to walk about changes within lines....

Isn't changing zero spaces into two spaces a change in the "amount"  
of white space?

<annoying pedant mode off>


More information about the Mercurial mailing list