This is an archive of the discontinued Mercurial Phabricator instance.

shelve: also create class representing whole directory of shelves
ClosedPublic

Authored by martinvonz on Jan 12 2021, 5:48 PM.

Details

Summary

It's a little annoying to have to create and pass in a vfs into
listshelves(). This patch attempts to start addressing that by
creating a class that represents a directory containing shelves (the
directory can be either .hg/shelved/ or .hg/shelve-backup/).

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.