##// END OF EJS Templates
revlog: register changelogv2 C implementation in parsers...
revlog: register changelogv2 C implementation in parsers 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. Differential Revision: https://phab.mercurial-scm.org/D12179

File last commit:

r46652:8dca9051 default
r49618:1bb62821 default
Show More
mpatch.pyi
10 lines | 193 B | text/x-python | PythonLexer
Gregory Szorc
cext: add .pyi files for C extensions...
r46652 from typing import (
List,
)
version: int
class mpatchError(Exception): ...
def patches(text: bytes, bins: List[bytes]) -> bytes: ...
def patchedsize(orig: int, data: bytes) -> int: ...