Bug in 'hg diff'

Will Maier willmaier at ml1.net
Mon Jul 23 17:54:50 CDT 2007


On Mon, Jul 23, 2007 at 11:38:58PM +0100, Paul Sargent wrote:
> 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?

Perhaps my system's diff(1) is clearer:

     -b      Causes trailing blanks (spaces and tabs) to be ignored, and other
             strings of blanks to compare equal.

AFAICT, hg diff's behavior is consistent with this, though I haven't
looked too deeply into mdiff.unidiff.

-- 

[Will Maier]-----------------[willmaier at ml1.net|http://www.lfod.us/]


More information about the Mercurial mailing list