https://bz.mercurial-scm.org/show_bug.cgi?id=5612
Bug ID: 5612 Summary: Explicit formatter.data() fields override ctx derived keywords Product: Mercurial Version: default branch Hardware: All OS: All Status: UNCONFIRMED Severity: bug Priority: normal Component: templater Assignee: bugzi...@mercurial-scm.org Reporter: matt_harbi...@yahoo.com CC: mercurial-devel@mercurial-scm.org The identify command, for example, does not explicitly set {rev} on formatter, but does set {tags}. $ ../hg identify -r '4.2' -T '{revset("tagged() and rev(%d)::", rev) % "{rev}\n"}' 35618 36319 $ ../hg identify -r '4.2' -T '{revset("tagged() and rev(%d)::", rev) % "{tags % "{tag}"}\n"}' 4.2 4.2 If 'fm.data(tags=...)' is commented out, the correct result is given: $ ../hg identify -r '4.2' -T '{revset("tagged() and rev(%d)::", rev) % "{tags % "{tag}"}\n"}' 4.2 4.2.1 -- 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