[Bug 3887] New: hg log --template "{rev}: {join(file_copies,'; ')}\n" prints literal "sourcename" for renames

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Apr 15 09:13:52 CDT 2013


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

          Priority: normal
            Bug ID: 3887
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hg log --template "{rev}: {join(file_copies,';')}\n"
                    prints literal "sourcename" for renames
          Severity: bug
    Classification: Unclassified
                OS: Windows
          Reporter: swpalmer at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.5.3
         Component: Mercurial
           Product: Mercurial

The template {file_copies} should return a "list of strings" according to the
docs.  So it should work with join(file_copies,';'), but it does not.

hg log --template "{rev}: {join(file_copies,';')}\n" 

prints literal "sourcename" for a revision with a rename, as in:

1: sourcename

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


More information about the Mercurial-devel mailing list