##// END OF EJS Templates
py3: handle keyword arguments in hgext/commitextras.py...
Pulkit Goyal -
r34976:901a18b0 default
parent child Browse files
Show More
@@ -46,7 +46,7 b' def _commit(orig, ui, repo, *pats, **opt'
46 46 origcommit = repo.commit
47 47 try:
48 48 def _wrappedcommit(*innerpats, **inneropts):
49 extras = opts.get('extra')
49 extras = opts.get(r'extra')
50 50 if extras:
51 51 for raw in extras:
52 52 if '=' not in raw:
@@ -65,7 +65,7 b' def _commit(orig, ui, repo, *pats, **opt'
65 65 msg = _("key '%s' is used internally, can't be set "
66 66 "manually")
67 67 raise error.Abort(msg % k)
68 inneropts['extra'][k] = v
68 inneropts[r'extra'][k] = v
69 69 return origcommit(*innerpats, **inneropts)
70 70
71 71 # This __dict__ logic is needed because the normal
General Comments 0
You need to be logged in to leave comments. Login now