This is an archive of the discontinued Mercurial Phabricator instance.

storageutil: extract functionality for resolving strip revisions
ClosedPublic

Authored by indygreg on Sep 28 2018, 8:18 PM.

Details

Summary

I found myself having to copy this method as part of implementing a new
storage backend. With a little tweaking, we can extract it to a
standalone function so it can be reused easily.

We'll likely want to implement a better method for removing revisions
on the storage interface someday. But until then, let's use what we
have.

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.