[issue2383] hg log showing _less_ differences than hg diff

Willem Verstraeten bugs at mercurial.selenic.com
Thu Sep 16 15:13:04 UTC 2010


New submission from Willem Verstraeten <willem.verstraeten at gmail.com>:

For at least one changeset in my repository, when I 'hg log --stat' that 
changeset, I get significantly less differences then when I 'hg diff' that 
changeset. This is a merge changeset, but I would expect 'hg log' to report 
_more_ differences than 'hg diff'.

As a result, in the history of the missing files, this changeset is not 
shown.

The below output nicely demonstrates the bug : the '{diffstat}' keyword 
shows the diffstat that I would expect (ie. about 33 files), but the 'hg log 
--stat' output only mentions two files.

hg log --rev SOME_REV --stat --template '{diffstat}\n\n'
33: +382/-115

 docs/releaseNotes.xml |  29 +++++++++++++++++++++++++++++
 src/com/Main.java     |  11 ++++-------
 2 files changed, 33 insertions(+), 7 deletions(-)

----------
messages: 13630
nosy: willemv
priority: critical
status: unread
title: hg log showing _less_ differences than hg diff

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


More information about the Mercurial-devel mailing list