##// END OF EJS Templates
filemerge._merge: drop no longer necessary 'if r:' check...
Siddharth Agarwal -
r26572:c7850af6 default
parent child Browse files
Show More
@@ -247,15 +247,12 b' def _merge(repo, mynode, orig, fcd, fco,'
247 files. It will fail if there are any conflicts and leave markers in
247 files. It will fail if there are any conflicts and leave markers in
248 the partially merged file. Markers will have two sections, one for each side
248 the partially merged file. Markers will have two sections, one for each side
249 of merge, unless mode equals 'union' which suppresses the markers."""
249 of merge, unless mode equals 'union' which suppresses the markers."""
250 r = 1
250 a, b, c, back = files
251 if r:
252 a, b, c, back = files
253
251
254 ui = repo.ui
252 ui = repo.ui
255
253
256 r = simplemerge.simplemerge(ui, a, b, c, label=labels, mode=mode)
254 r = simplemerge.simplemerge(ui, a, b, c, label=labels, mode=mode)
257 return True, r
255 return True, r
258 return False, 0
259
256
260 @internaltool('union', fullmerge,
257 @internaltool('union', fullmerge,
261 _("merging %s incomplete! "
258 _("merging %s incomplete! "
General Comments 0
You need to be logged in to leave comments. Login now