[Bug 5759] New: diff.noprefix disables --stat output

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Fri Dec 15 15:52:05 UTC 2017


https://bz.mercurial-scm.org/show_bug.cgi?id=5759

            Bug ID: 5759
           Summary: diff.noprefix disables --stat output
           Product: Mercurial
           Version: 4.4.2
          Hardware: PC
                OS: Mac OS
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: kbullock+mercurial at ringworld.org
                CC: mercurial-devel at mercurial-scm.org

With diff.noprefix=True, 'hg diff --stat' shows nothing. 'hg log --stat' also
fails to show the diffstat output.

To reproduce:

 $ hg init a
 $ cd a
 $ cat >> .hg/hgrc <<EOF
 > [diff]
 > noprefix = True
 > EOF
 $ echo a>a
 $ hg ci -Am0
 $ hg diff --change . --stat
 $ hg log -r. -Tstatus --stat
 changeset:   0:f39c96ff5c7e
 tag:         tip
 user:        Kevin Bullock <kbullock at ringworld.org>
 date:        Fri Dec 15 09:46:57 2017 -0600
 summary:     0
 files:
 A a


 $ hg log -pr. -Tstatus --stat
 changeset:   0:f39c96ff5c7e
 tag:         tip
 user:        Kevin Bullock <kbullock at ringworld.org>
 date:        Fri Dec 15 09:46:57 2017 -0600
 summary:     0
 files:
 A a


 diff --git a a
 new file mode 100644
 --- /dev/null
 +++ a
 @@ -0,0 +1,1 @@
 +a


(possibly related to https://bz.mercurial-scm.org/show_bug.cgi?id=4755)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list