This is an archive of the discontinued Mercurial Phabricator instance.

repair: move manifest strip to a separate function
ClosedPublic

Authored by durham on Aug 8 2017, 8:33 PM.

Details

Summary

This moves manifest stripping to a separate function so implementations of the
manifest that don't support stripping can replace this function with a no-op.

I considered adding a strip api to the manifestlog, so other implementations
could make it a no-op there, but it seems like strip might be unique to the
revlog implementation, and therefore shouldn't be present on the generic api.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

durham created this revision.Aug 8 2017, 8:33 PM
This revision was automatically updated to reflect the committed changes.