D2435: commitextras: fix on Python 3 by using sysstrs for __dict__ ops
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Mon Feb 26 05:38:54 UTC 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG75c76cee1b1b: commitextras: fix on Python 3 by using sysstrs for __dict__ ops (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D2435?vs=6080&id=6093
REVISION DETAIL
https://phab.mercurial-scm.org/D2435
AFFECTED FILES
hgext/commitextras.py
CHANGE DETAILS
diff --git a/hgext/commitextras.py b/hgext/commitextras.py
--- a/hgext/commitextras.py
+++ b/hgext/commitextras.py
@@ -70,7 +70,7 @@
# This __dict__ logic is needed because the normal
# extension.wrapfunction doesn't seem to work.
- repo.__dict__['commit'] = _wrappedcommit
+ repo.__dict__[r'commit'] = _wrappedcommit
return orig(ui, repo, *pats, **opts)
finally:
- del repo.__dict__['commit']
+ del repo.__dict__[r'commit']
To: durin42, #hg-reviewers, indygreg
Cc: indygreg, mercurial-devel
More information about the Mercurial-devel
mailing list