##// END OF EJS Templates
filemerge: add a wrapper around the filemerge function...
Siddharth Agarwal -
r26605:ef21a2c4 default
parent child Browse files
Show More
@@ -102,7 +102,7 b' def uisetup(ui):'
102 102 overrides.mergerecordupdates)
103 103 entry = extensions.wrapfunction(merge, 'update',
104 104 overrides.mergeupdate)
105 entry = extensions.wrapfunction(filemerge, 'filemerge',
105 entry = extensions.wrapfunction(filemerge, '_filemerge',
106 106 overrides.overridefilemerge)
107 107 entry = extensions.wrapfunction(cmdutil, 'copy',
108 108 overrides.overridecopy)
@@ -435,7 +435,7 b' def _formatlabels(repo, fcd, fco, fca, l'
435 435 newlabels.append(_formatconflictmarker(repo, ca, tmpl, labels[2], pad))
436 436 return newlabels
437 437
438 def filemerge(repo, mynode, orig, fcd, fco, fca, labels=None):
438 def _filemerge(repo, mynode, orig, fcd, fco, fca, labels=None):
439 439 """perform a 3-way merge in the working directory
440 440
441 441 mynode = parent node before merge
@@ -567,5 +567,8 b' def _check(r, ui, tool, fcd, files):'
567 567
568 568 return r
569 569
570 def filemerge(repo, mynode, orig, fcd, fco, fca, labels=None):
571 return _filemerge(repo, mynode, orig, fcd, fco, fca, labels=labels)
572
570 573 # tell hggettext to extract docstrings from these functions:
571 574 i18nfunctions = internals.values()
General Comments 0
You need to be logged in to leave comments. Login now