##// END OF EJS Templates
rebaseruntime: raise InMemoryMergeConflictsError on merge conflicts...
Phil Cohen -
r35293:306a8604 default
parent child Browse files
Show More
@@ -483,9 +483,12 b' class rebaseruntime(object):'
483 stats = rebasenode(repo, rev, p1, base, self.state,
483 stats = rebasenode(repo, rev, p1, base, self.state,
484 self.collapsef, dest)
484 self.collapsef, dest)
485 if stats and stats[3] > 0:
485 if stats and stats[3] > 0:
486 raise error.InterventionRequired(
486 if self.wctx.isinmemory():
487 _('unresolved conflicts (see hg '
487 raise error.InMemoryMergeConflictsError()
488 'resolve, then hg rebase --continue)'))
488 else:
489 raise error.InterventionRequired(
490 _('unresolved conflicts (see hg '
491 'resolve, then hg rebase --continue)'))
489 finally:
492 finally:
490 ui.setconfig('ui', 'forcemerge', '', 'rebase')
493 ui.setconfig('ui', 'forcemerge', '', 'rebase')
491 if not self.collapsef:
494 if not self.collapsef:
General Comments 0
You need to be logged in to leave comments. Login now