Show More
@@ -564,6 +564,10 b' def _docreatecmd(ui, repo, pats, opts):' | |||
|
564 | 564 | scmutil.movedirstate(repo, parent, match) |
|
565 | 565 | else: |
|
566 | 566 | hg.update(repo, parent.node()) |
|
567 | ms = mergestatemod.mergestate.read(repo) | |
|
568 | if not ms.unresolvedcount(): | |
|
569 | ms.reset() | |
|
570 | ||
|
567 | 571 | if origbranch != repo[b'.'].branch() and not _isbareshelve(pats, opts): |
|
568 | 572 | repo.dirstate.setbranch(origbranch) |
|
569 | 573 |
@@ -810,9 +810,8 b' Test interactive shelve' | |||
|
810 | 810 | ? foo/foo |
|
811 | 811 | $ hg bookmark |
|
812 | 812 | \* test (4|13):33f7f61e6c5e (re) |
|
813 |
|
|
|
813 | there shouldn't be a merge state | |
|
814 | 814 | $ hg resolve -l |
|
815 | R a/a | |
|
816 | 815 | $ hg unshelve |
|
817 | 816 | unshelving change 'test' |
|
818 | 817 | temporarily committing pending changes (restore with 'hg unshelve --abort') |
General Comments 0
You need to be logged in to leave comments.
Login now