D6684: unshelve: modify --continue on interactive unshelve

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Wed Jul 24 10:54:58 EDT 2019


pulkit added inline comments.

INLINE COMMENTS

> shelve.py:950
>          elif continuef:
> -            return unshelvecontinue(ui, repo, state, opts)
> -    elif len(shelved) > 1:

Now I understand how this and the parent patches are arranged.

Why don't be have all the logic related to interactive in `unshelvecontinue`, including getting the name of the shelve we are processing.

Right now, we are getting name of top most shelve, however we should read the shelvedstate and get the name from there.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6684/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D6684

To: navaneeth.suresh, #hg-reviewers
Cc: pulkit, mercurial-devel


More information about the Mercurial-devel mailing list