Page MenuHomePhabricator

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

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



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 This would create a cycle between and So we move these metadata functions to

.. api::

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

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
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.