( )⚙ D8322 shelve: split up dounshelve() in unshelvecmd() and _dounshelve()

This is an archive of the discontinued Mercurial Phabricator instance.

shelve: split up dounshelve() in unshelvecmd() and _dounshelve()
ClosedPublic

Authored by martinvonz on Mar 23 2020, 6:27 PM.

Details

Summary

I'd like to be able to override the new _dounshelve(), getting
access to the name of the shelve to unshelve. unshelvecmd() seems to
better match the existing createcmd(), listcmd() etc.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Mar 23 2020, 6:27 PM
Alphare accepted this revision.Mar 25 2020, 1:43 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.