[Bug 5920] New: templater gives unclear message "parse error: unknown method 'list'"

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Fri Jun 15 21:18:23 UTC 2018


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

            Bug ID: 5920
           Summary: templater gives unclear message "parse error: unknown
                    method 'list'"
           Product: Mercurial
           Version: 4.6
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: martinvonz at google.com
                CC: mercurial-devel at mercurial-scm.org

$ ./hg log -T '{1, 2}'
hg: parse error: unknown method 'list'


(My actual template was more like '{if(x, "y"), "z"}', where I had put the ")"
in the wrong place.)

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


More information about the Mercurial-devel mailing list