changeset 4730:a95c6f578f70

py3: back out 23323092f0a7 D6623 has now been accepted in Mercurial (commit 83666f011679), so evolve commit 23323092f0a7 (py3: convert _origdoc to sysstr to match __doc__, 2019-07-09) is not longer needed.
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 11 Jul 2019 09:38:42 -0700
parents 076b6813a7ea
children beddcd46aa5f
files hgext3rd/evolve/templatekw.py
diffstat 1 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/hgext3rd/evolve/templatekw.py	Wed Jul 17 18:06:14 2019 +0200
+++ b/hgext3rd/evolve/templatekw.py	Thu Jul 11 09:38:42 2019 -0700
@@ -15,7 +15,6 @@
 )
 
 from mercurial import (
-    pycompat,
     templatekw,
     util
 )
@@ -59,7 +58,7 @@
 if util.safehasattr(_sp, '_requires'):
     def showprecursors(context, mapping):
         return _sp(context, mapping)
-    showprecursors.__doc__ = pycompat.sysstr(_sp._origdoc)
+    showprecursors.__doc__ = _sp._origdoc
     _tk = templatekw.templatekeyword(b"precursors", requires=_sp._requires)
     _tk(showprecursors)
 else:
@@ -75,7 +74,7 @@
 if util.safehasattr(_ss, '_requires'):
     def showsuccessors(context, mapping):
         return _ss(context, mapping)
-    showsuccessors.__doc__ = pycompat.sysstr(_ss._origdoc)
+    showsuccessors.__doc__ = _ss._origdoc
     _tk = templatekw.templatekeyword(b"successors", requires=_ss._requires)
     _tk(showsuccessors)
 else: