This is an archive of the discontinued Mercurial Phabricator instance.

revlog: move parsemeta() and packmeta() from filelog (API)
ClosedPublic

Authored by indygreg on Apr 5 2018, 8:51 PM.

Details

Summary

filelog.parsemeta() and filelog.packmeta() are used to decode
and encode metadata for file copies and censor.

An upcoming commit will move the core logic for censoring revlogs
into revlog.py. This would create a cycle between revlog.py and
filelog.py. So we move these metadata functions to revlog.py.

.. api::

filelog.parsemeta() and filelog.packmeta() have been moved to
the revlog module.

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.Apr 5 2018, 8:51 PM
indygreg updated this revision to Diff 7769.Apr 5 2018, 9:22 PM
durin42 accepted this revision.Apr 6 2018, 8:56 PM
This revision is now accepted and ready to land.Apr 6 2018, 8:56 PM
This revision was automatically updated to reflect the committed changes.