hgext/patchbomb.py
changeset 45288 8cce9f77ca73
parent 43902 3781da40eaa6
child 45957 89a2afe31e82
--- a/hgext/patchbomb.py	Wed Jul 29 10:42:09 2020 -0700
+++ b/hgext/patchbomb.py	Thu Jul 16 13:33:46 2020 -0700
@@ -207,7 +207,7 @@
     if not tmpl:
         return b' '.join(flags)
     out = util.stringio()
-    spec = formatter.templatespec(b'', templater.unquotestring(tmpl), None)
+    spec = formatter.literal_templatespec(templater.unquotestring(tmpl))
     with formatter.templateformatter(ui, out, b'patchbombflag', {}, spec) as fm:
         fm.startitem()
         fm.context(ctx=repo[rev])