D6596: unshelve: make unshelve accept files (issue6162)
pulkit (Pulkit Goyal)
phabricator at mercurial-scm.org
Thu Jul 4 11:00:12 EDT 2019
pulkit added a comment.
Didn't look at the actual implementation yet.
INLINE COMMENTS
> shelve.py:990
> + filesinclude = []
> + if interactive:
> + for file in files:
The interactive flag should work the same way as it work for revert, commit and shelve commands. That's either ask hunk by hunk or pop up a curses UI.
As you suggested before, maybe we can have `-f` flag to specify files to unshelve.
> test-shelve.t:1204
> + e
> + $ hg shelve --patch
> + default (1s ago) changes to: b
add a comment here specifying that shelve should not contain `c` now.
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