Show More
@@ -38,7 +38,7 b' internals = {}' | |||
|
38 | 38 | # Merge tools to document. |
|
39 | 39 | internalsdoc = {} |
|
40 | 40 | |
|
41 | def internaltool(name, trymerge, onfailure=None): | |
|
41 | def internaltool(name, trymerge, onfailure=None, precheck=None): | |
|
42 | 42 | '''return a decorator for populating internal merge tool table''' |
|
43 | 43 | def decorator(func): |
|
44 | 44 | fullname = ':' + name |
@@ -48,6 +48,7 b' def internaltool(name, trymerge, onfailu' | |||
|
48 | 48 | internalsdoc[fullname] = func |
|
49 | 49 | func.trymerge = trymerge |
|
50 | 50 | func.onfailure = onfailure |
|
51 | func.precheck = precheck | |
|
51 | 52 | return func |
|
52 | 53 | return decorator |
|
53 | 54 |
General Comments 0
You need to be logged in to leave comments.
Login now