Comments
Patch
@@ -495,7 +495,7 @@
raise error.Abort(msg)
-def simplemerge(ui, local, base, other, **opts):
+def simplemerge(local, base, other, **opts):
"""Performs the simplemerge algorithm.
The merged result is written into `localctx`.
@@ -437,7 +437,7 @@
return 1
else:
merged_text, conflicts = simplemerge.simplemerge(
- ui, local, base, other, mode=mode
+ local, base, other, mode=mode
)
if merged_text is not None and (
not conflicts or premerge in validkeep
@@ -488,7 +488,7 @@
conflicts = True
else:
merged_text, conflicts = simplemerge.simplemerge(
- ui, local, base, other, mode=mode
+ local, base, other, mode=mode
)
# fcd.flags() already has the merged flags (done in
# mergestate.resolve())
@@ -107,7 +107,7 @@
sys.exit(1)
merged_text, conflicts = simplemerge.simplemerge(
- ui, local_input, base_input, other_input, **opts
+ local_input, base_input, other_input, **opts
)
if merged_text is not None:
if opts['print']: