This is an archive of the discontinued Mercurial Phabricator instance.

shelve: replace repo instance in Shelf class by vfs instance
ClosedPublic

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

Details

Summary

I'd like to be able to teach the Shelf class to read shelves from
.hg/shelve-backup/ in addition to .hg/shelved/. That means that
we'll have to pass in a vfs instead of the repo, so this patch does
that preparation.

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.