diff -r cc2049184ece -r f2554154509f tests/test-shelve.t --- a/tests/test-shelve.t Wed Nov 18 15:18:16 2015 -0800 +++ b/tests/test-shelve.t Wed Nov 18 15:11:23 2015 -0800 @@ -469,6 +469,29 @@ if we resolve a conflict while unshelving, the unshelve should succeed + $ hg unshelve --tool :merge-other --keep + unshelving change 'default' + temporarily committing pending changes (restore with 'hg unshelve --abort') + rebasing shelved changes + rebasing 6:c5e6910e7601 "changes to 'second'" (tip) + merging a/a + $ hg parents -q + 4:33f7f61e6c5e + $ hg shelve -l + default (*)* changes to 'second' (glob) + $ hg status + M a/a + A foo/foo + $ cat a/a + a + c + a + $ cat > a/a << EOF + > a + > c + > x + > EOF + $ HGMERGE=true hg unshelve unshelving change 'default' temporarily committing pending changes (restore with 'hg unshelve --abort') @@ -730,7 +753,8 @@ >>>>>>> source: 23b29cada8ba - shelve: changes to 'commit stuff' $ cat f.orig g - $ hg unshelve --abort + $ hg unshelve --abort -t false + tool option will be ignored rebase aborted unshelve of 'default' aborted $ hg st