##// END OF EJS Templates
simplemerge: set `conflicts` earlier for :union tool...
Martin von Zweigbergk -
r49254:9e1f174d default
parent child Browse files
Show More
@@ -544,7 +544,7 b' def simplemerge(ui, localctx, basectx, o'
544 name_a=name_a, name_b=name_b, **pycompat.strkwargs(extrakwargs)
544 name_a=name_a, name_b=name_b, **pycompat.strkwargs(extrakwargs)
545 )
545 )
546 )
546 )
547 conflicts = m3.conflicts
547 conflicts = m3.conflicts and not mode == b'union'
548
548
549 # merge flags if necessary
549 # merge flags if necessary
550 flags = localctx.flags()
550 flags = localctx.flags()
@@ -562,5 +562,5 b' def simplemerge(ui, localctx, basectx, o'
562 else:
562 else:
563 localctx.write(mergedtext, flags)
563 localctx.write(mergedtext, flags)
564
564
565 if conflicts and not mode == b'union':
565 if conflicts:
566 return 1
566 return 1
General Comments 0
You need to be logged in to leave comments. Login now