diff mercurial/cmdutil.py @ 32045:3eceeede26e9

graphlog: optionally strip quotes from graphnode template (BC) For consistency with the other template options.
author Yuya Nishihara <yuya@tcha.org>
date Sat, 25 Feb 2017 19:28:16 +0900
parents 2406dbba49bd
children 5b630f2ccb4e
line wrap: on
line diff
--- a/mercurial/cmdutil.py	Mon Apr 17 23:53:19 2017 +0900
+++ b/mercurial/cmdutil.py	Sat Feb 25 19:28:16 2017 +0900
@@ -2154,6 +2154,7 @@
     if not spec:
         return templatekw.showgraphnode  # fast path for "{graphnode}"
 
+    spec = templater.unquotestring(spec)
     templ = formatter.gettemplater(ui, 'graphnode', spec)
     cache = {}
     if isinstance(displayer, changeset_templater):