hgext/rebase.py
changeset 38443 e6b643ccf87d
parent 38431 d6686f864a70
child 38485 56b2074114b1
equal deleted inserted replaced
38442:36edfbac7281 38443:e6b643ccf87d
   823             with ui.configoverride(overrides, 'rebase'):
   823             with ui.configoverride(overrides, 'rebase'):
   824                 _origrebase(ui, repo, inmemory=True, leaveunfinished=True,
   824                 _origrebase(ui, repo, inmemory=True, leaveunfinished=True,
   825                             **opts)
   825                             **opts)
   826         except error.InMemoryMergeConflictsError:
   826         except error.InMemoryMergeConflictsError:
   827             ui.status(_('hit a merge conflict\n'))
   827             ui.status(_('hit a merge conflict\n'))
       
   828             return 1
   828         else:
   829         else:
   829             ui.status(_('there will be no conflict, you can rebase\n'))
   830             ui.status(_('there will be no conflict, you can rebase\n'))
       
   831             return 0
   830         finally:
   832         finally:
   831             _origrebase(ui, repo, abort=True)
   833             _origrebase(ui, repo, abort=True)
   832     elif inmemory:
   834     elif inmemory:
   833         try:
   835         try:
   834             # in-memory merge doesn't support conflicts, so if we hit any, abort
   836             # in-memory merge doesn't support conflicts, so if we hit any, abort