https://bz.mercurial-scm.org/show_bug.cgi?id=5699
Bug ID: 5699 Summary: hg log -T '{ui}' exposes internal state Product: Mercurial Version: default branch Hardware: All OS: All Status: UNCONFIRMED Severity: bug Priority: wish Component: templater Assignee: bugzi...@mercurial-scm.org Reporter: arcppzju+hg...@gmail.com CC: mercurial-devel@mercurial-scm.org Internal state could be observed by template keywords: [quark@x1c hg]$ ./hg log -r . -T '{ui}\n' <mercurial.ui.ui object at 0x7f55008cedd0> "{ctx}", "{repo}", "{templ}", "{revcache}" are probably also unwanted. It seems we use a single map to store both keyword functions and raw data. It'd be nice if we can separate data from keyword functions. -- 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