hgext/rebase.py
branchstable
changeset 40790 f07d4f94f098
parent 40366 b14fdf1fb615
child 40791 6f679f25fd4d
equal deleted inserted replaced
40789:8ff910b21eef 40790:f07d4f94f098
   863             with ui.configoverride(overrides, 'rebase'):
   863             with ui.configoverride(overrides, 'rebase'):
   864                 return _dorebase(ui, repo, action, opts, inmemory=inmemory)
   864                 return _dorebase(ui, repo, action, opts, inmemory=inmemory)
   865         except error.InMemoryMergeConflictsError:
   865         except error.InMemoryMergeConflictsError:
   866             ui.warn(_('hit merge conflicts; re-running rebase without in-memory'
   866             ui.warn(_('hit merge conflicts; re-running rebase without in-memory'
   867                       ' merge\n'))
   867                       ' merge\n'))
   868             _dorebase(ui, repo, action='abort', opts={})
   868             # TODO: Make in-memory merge not use the on-disk merge state, so
       
   869             # we don't have to clean it here
       
   870             mergemod.mergestate.clean(repo)
       
   871             clearstatus(repo)
       
   872             clearcollapsemsg(repo)
   869             return _dorebase(ui, repo, action, opts, inmemory=False)
   873             return _dorebase(ui, repo, action, opts, inmemory=False)
   870     else:
   874     else:
   871         return _dorebase(ui, repo, action, opts)
   875         return _dorebase(ui, repo, action, opts)
   872 
   876 
   873 def _dryrunrebase(ui, repo, action, opts):
   877 def _dryrunrebase(ui, repo, action, opts):