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: bugzi...@mercurial-scm.org
          Reporter: kbullock+mercur...@ringworld.org
                CC: mercurial-devel@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 <kbull...@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 <kbull...@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.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to