Submitter | phabricator |
---|---|
Date | Nov. 2, 2017, 9:14 p.m. |
Message ID | <differential-rev-PHID-DREV-gdbhtblsj2fbq3nevcg2-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/25365/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/hgext/commitextras.py b/hgext/commitextras.py --- a/hgext/commitextras.py +++ b/hgext/commitextras.py @@ -46,7 +46,7 @@ origcommit = repo.commit try: def _wrappedcommit(*innerpats, **inneropts): - extras = opts.get('extra') + extras = opts.get(r'extra') if extras: for raw in extras: if '=' not in raw: @@ -65,7 +65,7 @@ msg = _("key '%s' is used internally, can't be set " "manually") raise error.Abort(msg % k) - inneropts['extra'][k] = v + inneropts[r'extra'][k] = v return origcommit(*innerpats, **inneropts) # This __dict__ logic is needed because the normal