hgext/commitextras.py
changeset 43506 9f70512ae2cf
parent 43115 4aa72cdf616f
child 48370 45a073af50a2
--- a/hgext/commitextras.py	Sun Nov 10 07:30:14 2019 -0800
+++ b/hgext/commitextras.py	Fri Nov 08 11:19:20 2019 -0800
@@ -58,7 +58,7 @@
 
     class repoextra(repo.__class__):
         def commit(self, *innerpats, **inneropts):
-            extras = opts.get(r'extra')
+            extras = opts.get('extra')
             for raw in extras:
                 if b'=' not in raw:
                     msg = _(
@@ -82,7 +82,7 @@
                         b"manually"
                     )
                     raise error.Abort(msg % k)
-                inneropts[r'extra'][k] = v
+                inneropts['extra'][k] = v
             return super(repoextra, self).commit(*innerpats, **inneropts)
 
     repo.__class__ = repoextra