D6596: unshelve: make unshelve accept files (issue6162)

pulkit (Pulkit Goyal) phabricator at mercurial-scm.org
Sat Jul 6 19:38:20 EDT 2019


pulkit added inline comments.

INLINE COMMENTS

> shelve.py:842
>              repo.setparents(tmpwctx.node(), nodemod.nullid)
>              newnode = repo.commit(text=shelvectx.description(),
>                                    extra=shelvectx.extra(),

We can do filtering of files to unshelve here.

Before this `repo.commit` we have all the changes, we first commit which are needed to be unshelve, then create a shelve of rest of the changes.

REPOSITORY
  rHG Mercurial

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

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

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


More information about the Mercurial-devel mailing list