This is a follow-up patch to 5162753c4c14 on addressing reviews
on the commit. This unifies the logic around creating an unshelve
changeset.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHGc9114885c14b: unshelve: unify logic around creating an unshelve changeset
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped
Event Timeline
Comment Actions
This patch does following things:
- unify logic around creating unshelvectx
- changes how date is set in iteractive mode
- handles stripping in interavtive mode
- compute a matcher only if it's required
- and a change around making basename madatory argument
Can we have them in separate patches?
mercurial/shelve.py | ||
---|---|---|
813 | 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. |
mercurial/shelve.py | ||
---|---|---|
813 | Awesome! Amending that right away. |
How about: