##// END OF EJS Templates
shelve: remove rebase.clearstatus()...
Navaneeth Suresh -
r42740:ead3a723 default draft
parent child Browse files
Show More
@@ -54,9 +54,6 b' from mercurial import ('
54 vfs as vfsmod,
54 vfs as vfsmod,
55 )
55 )
56
56
57 from . import (
58 rebase,
59 )
60 from mercurial.utils import (
57 from mercurial.utils import (
61 dateutil,
58 dateutil,
62 stringutil,
59 stringutil,
@@ -655,11 +652,6 b' def unshelveabort(ui, repo, state, opts)'
655 if (state.activebookmark
652 if (state.activebookmark
656 and state.activebookmark in repo._bookmarks):
653 and state.activebookmark in repo._bookmarks):
657 bookmarks.activate(repo, state.activebookmark)
654 bookmarks.activate(repo, state.activebookmark)
658
659 if repo.vfs.exists('unshelverebasestate'):
660 repo.vfs.rename('unshelverebasestate', 'rebasestate')
661 rebase.clearstatus(repo)
662
663 mergefiles(ui, repo, state.wctx, state.pendingctx)
655 mergefiles(ui, repo, state.wctx, state.pendingctx)
664 if not phases.supportinternal(repo):
656 if not phases.supportinternal(repo):
665 repair.strip(ui, repo, state.nodestoremove, backup=False,
657 repair.strip(ui, repo, state.nodestoremove, backup=False,
@@ -738,11 +730,6 b' def unshelvecontinue(ui, repo, state, op'
738 shelvectx = repo[newnode]
730 shelvectx = repo[newnode]
739
731
740 hg.updaterepo(repo, pendingctx.node(), overwrite=False)
732 hg.updaterepo(repo, pendingctx.node(), overwrite=False)
741
742 if repo.vfs.exists('unshelverebasestate'):
743 repo.vfs.rename('unshelverebasestate', 'rebasestate')
744 rebase.clearstatus(repo)
745
746 mergefiles(ui, repo, state.wctx, shelvectx)
733 mergefiles(ui, repo, state.wctx, shelvectx)
747 restorebranch(ui, repo, state.branchtorestore)
734 restorebranch(ui, repo, state.branchtorestore)
748
735
General Comments 0
You need to be logged in to leave comments. Login now