( )⚙ D12179 revlog: register changelogv2 C implementation in parsers

This is an archive of the discontinued Mercurial Phabricator instance.

revlog: register changelogv2 C implementation in parsers
ClosedPublic

Authored by pacien on Feb 14 2022, 1:06 PM.

Details

Summary

This allows Python code to make use of the C implementation of the changelogv2
base operations when the C extensions are enabled.

The format_version values are now shared between the C and Python sides,
avoiding an additional translation for the selection of the format version to
use.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage