Mercurial > public > mercurial-scm > hg-stable
diff mercurial/cmdutil.py @ 32046:5b630f2ccb4e
commit: optionally strip quotes from commit template (BC)
For consistency with the other template options.
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Sat, 25 Feb 2017 19:32:39 +0900 |
parents | 3eceeede26e9 |
children | 93155367a2a6 20bac46f7744 |
line wrap: on
line diff
--- a/mercurial/cmdutil.py Sat Feb 25 19:28:16 2017 +0900 +++ b/mercurial/cmdutil.py Sat Feb 25 19:32:39 2017 +0900 @@ -2768,6 +2768,7 @@ while forms: tmpl = repo.ui.config('committemplate', '.'.join(forms)) if tmpl: + tmpl = templater.unquotestring(tmpl) templatetext = committext = buildcommittemplate( repo, ctx, subs, extramsg, tmpl) break