Mercurial > hg
changeset 45859:781b09790633
tests: show that interactive shelve can leave the repo with a merge state
If part of a file is shelved (as we already do in a test), there will
be an unfinished merge state left after `hg shelve` finishes. There
should never be a merge conflict and there should never be a reason
that the user would like to re-resolve conflicts, so we should clear
that state (see next patch).
Differential Revision: https://phab.mercurial-scm.org/D9334
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Mon, 16 Nov 2020 22:38:36 -0800 |
parents | 62983988bbf5 |
children | 073bb7563931 |
files | tests/test-shelve.t |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-shelve.t Mon Nov 16 10:30:53 2020 -0800 +++ b/tests/test-shelve.t Mon Nov 16 22:38:36 2020 -0800 @@ -810,6 +810,9 @@ ? foo/foo $ hg bookmark \* test (4|13):33f7f61e6c5e (re) +BROKEN: there shouldn't be a merge state + $ hg resolve -l + R a/a $ hg unshelve unshelving change 'test' temporarily committing pending changes (restore with 'hg unshelve --abort')