[Bug 4362] New: {extras % ' Extra:{extra}'} template doesn't work

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Sep 8 19:23:47 CDT 2014


http://bz.selenic.com/show_bug.cgi?id=4362

          Priority: normal
            Bug ID: 4362
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: {extras % ' Extra:{extra}'} template doesn't work
          Severity: bug
    Classification: Unclassified
                OS: Mac OS
          Reporter: durham at fb.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 3.1.1
         Component: Mercurial
           Product: Mercurial

The "{extras % ' Extra:{extra}'}" template doesn't print all the extras.  It
just prints the first one N times (where N is the number of extras).

~/myrepo> hg log -r . --template "{files % ' File:{file}\n'}"
 File:README.txt
 File:bar.txt
~/myrepo> hg log -r . --template "{extras % ' Extra:{extra}\n'}"
 Extra:amend_source=4ff5239a93b636057ca86a79063df19b05592cb7
 Extra:amend_source=4ff5239a93b636057ca86a79063df19b05592cb7
 Extra:amend_source=4ff5239a93b636057ca86a79063df19b05592cb7

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


More information about the Mercurial-devel mailing list