D6683: unshelve: unify logic around creating an unshelve changeset

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Fri Jul 26 10:37:41 EDT 2019


pulkit added inline comments.

INLINE COMMENTS

> shelve.py:812
> +    Here, we return both the newnode which is created interactively and a
> +    bool to know whether the shelve is partly done or completely done.
>      """

How about:

  Handles creation of unshelve commit and updating the shelve if it was partially unshelved.
  
  If interactive is:
  
    * false: commit all the changes in working directory.
    * true: prompts user to select changes to unshelve and commit them. Update the shelve with remaining changes.
  
  Returns the node of the new commit formed and a bool indicating whether the shelve was partially unshelved.

REPOSITORY
  rHG Mercurial

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

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

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


More information about the Mercurial-devel mailing list