This is an archive of the discontinued Mercurial Phabricator instance.

unshelve: clear shelvedstate and _finishunshelve() on partial unshelve
AbandonedPublic

Authored by navaneeth.suresh on Jul 27 2019, 2:55 AM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

On a partial unshelve, shelvedstate was not cleared and _finishunshelve()
was not called. Ideally, these should be called on this case. This patch makes
shelvedstate to delete after a successful partial unshelve and calls
_finishunshelve() in the same case.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped