Show More
@@ -19,6 +19,7 from . import ( | |||
|
19 | 19 | error, |
|
20 | 20 | formatter, |
|
21 | 21 | match, |
|
22 | pycompat, | |
|
22 | 23 | scmutil, |
|
23 | 24 | simplemerge, |
|
24 | 25 | tagmerge, |
@@ -93,7 +94,8 def internaltool(name, mergetype, onfail | |||
|
93 | 94 | '''return a decorator for populating internal merge tool table''' |
|
94 | 95 | def decorator(func): |
|
95 | 96 | fullname = ':' + name |
|
96 |
func.__doc__ = "``%s``\n" % fullname |
|
|
97 | func.__doc__ = (pycompat.sysstr("``%s``\n" % fullname) | |
|
98 | + func.__doc__.strip()) | |
|
97 | 99 | internals[fullname] = func |
|
98 | 100 | internals['internal:' + name] = func |
|
99 | 101 | internalsdoc[fullname] = func |
General Comments 0
You need to be logged in to leave comments.
Login now