Show More
@@ -865,7 +865,11 b' def rebase(ui, repo, **opts):' | |||||
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) |
@@ -422,7 +422,6 b' In-memory rebase that fails due to merge' | |||||
422 | transaction abort! |
|
422 | transaction abort! | |
423 | rollback completed |
|
423 | rollback completed | |
424 | hit merge conflicts; re-running rebase without in-memory merge |
|
424 | hit merge conflicts; re-running rebase without in-memory merge | |
425 | rebase aborted |
|
|||
426 | rebasing 2:177f92b77385 "c" |
|
425 | rebasing 2:177f92b77385 "c" | |
427 | rebasing 3:055a42cdd887 "d" |
|
426 | rebasing 3:055a42cdd887 "d" | |
428 | rebasing 4:e860deea161a "e" |
|
427 | rebasing 4:e860deea161a "e" | |
@@ -447,17 +446,10 b" Retrying without in-memory merge won't l" | |||||
447 | transaction abort! |
|
446 | transaction abort! | |
448 | rollback completed |
|
447 | rollback completed | |
449 | hit merge conflicts; re-running rebase without in-memory merge |
|
448 | hit merge conflicts; re-running rebase without in-memory merge | |
450 | rebase aborted |
|
449 | abort: uncommitted changes | |
451 | rebasing 2:177f92b77385 "c" |
|
450 | [255] | |
452 | rebasing 3:055a42cdd887 "d" |
|
|||
453 | rebasing 4:e860deea161a "e" |
|
|||
454 | merging e |
|
|||
455 | warning: conflicts while merging e! (edit, then use 'hg resolve --mark') |
|
|||
456 | unresolved conflicts (see hg resolve, then hg rebase --continue) |
|
|||
457 | [1] |
|
|||
458 | BROKEN: working copy change to "a" was lost |
|
|||
459 | $ cat a |
|
451 | $ cat a | |
460 | a |
|
452 | dirty | |
461 |
|
453 | |||
462 | Retrying without in-memory merge won't lose merge state |
|
454 | Retrying without in-memory merge won't lose merge state | |
463 | $ cd .. |
|
455 | $ cd .. |
General Comments 0
You need to be logged in to leave comments.
Login now