This is an archive of the discontinued Mercurial Phabricator instance.

storageutil: extract most of peek_censored from revlog
ClosedPublic

Authored by indygreg on Oct 16 2018, 11:55 AM.

Details

Summary

This function is super hacky and isn't correct 100% of the time. I'm going
to need this functionality on a future non-revlog store.

Let's copy things to storageutil so this code only exists once.

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

indygreg created this revision.Oct 16 2018, 11:55 AM
This revision was automatically updated to reflect the committed changes.