# HG changeset patch # User Yuya Nishihara # Date 1534468885 -32400 # Node ID 485a3349d5eed5718cd93a5b3d598e11a5fa3673 # Parent e338a921a0cdc60717e5aebc7dc4bb9ba203478d rebase: do not pass in user option to rollback in-memory merge conflict Nothing passed before e9e742bd0501. diff -r e338a921a0cd -r 485a3349d5ee hgext/rebase.py --- a/hgext/rebase.py Fri Aug 17 10:19:17 2018 +0900 +++ b/hgext/rebase.py Fri Aug 17 10:21:25 2018 +0900 @@ -864,7 +864,7 @@ except error.InMemoryMergeConflictsError: ui.warn(_('hit merge conflicts; re-running rebase without in-memory' ' merge\n')) - _dorebase(ui, repo, 'abort', opts) + _dorebase(ui, repo, action='abort', opts={}) return _dorebase(ui, repo, action, opts, inmemory=False) else: return _dorebase(ui, repo, action, opts) diff -r e338a921a0cd -r 485a3349d5ee tests/test-rebase-inmemory.t --- a/tests/test-rebase-inmemory.t Fri Aug 17 10:19:17 2018 +0900 +++ b/tests/test-rebase-inmemory.t Fri Aug 17 10:21:25 2018 +0900 @@ -361,8 +361,14 @@ transaction abort! rollback completed hit merge conflicts; re-running rebase without in-memory merge - abort: abort and continue do not allow specifying revisions - [255] + rebase aborted + rebasing 2:177f92b77385 "c" + rebasing 3:055a42cdd887 "d" + rebasing 4:e860deea161a "e" + merging e + warning: conflicts while merging e! (edit, then use 'hg resolve --mark') + unresolved conflicts (see hg resolve, then hg rebase --continue) + [1] ========================== Test for --confirm option|