--- 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