##// END OF EJS Templates
py3: make format strings unicodes and not bytes...
Pulkit Goyal -
r30073:aa23c93e default
parent child Browse files
Show More
@@ -19,6 +19,7 from . import (
19 error,
19 error,
20 formatter,
20 formatter,
21 match,
21 match,
22 pycompat,
22 scmutil,
23 scmutil,
23 simplemerge,
24 simplemerge,
24 tagmerge,
25 tagmerge,
@@ -93,7 +94,8 def internaltool(name, mergetype, onfail
93 '''return a decorator for populating internal merge tool table'''
94 '''return a decorator for populating internal merge tool table'''
94 def decorator(func):
95 def decorator(func):
95 fullname = ':' + name
96 fullname = ':' + name
96 func.__doc__ = "``%s``\n" % fullname + func.__doc__.strip()
97 func.__doc__ = (pycompat.sysstr("``%s``\n" % fullname)
98 + func.__doc__.strip())
97 internals[fullname] = func
99 internals[fullname] = func
98 internals['internal:' + name] = func
100 internals['internal:' + name] = func
99 internalsdoc[fullname] = func
101 internalsdoc[fullname] = func
General Comments 0
You need to be logged in to leave comments. Login now