Mercurial > hg
view mercurial/cext/mpatch.pyi @ 48676:3f618484eeb6 stable
transaction: add a way to know a transaction has been finalized
This will be useful to fix the timing of the branchmap on disk caching.
Differential Revision: https://phab.mercurial-scm.org/D12127
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Mon, 31 Jan 2022 19:28:58 +0100 |
parents | 8dca9051a859 |
children |
line wrap: on
line source
from typing import ( List, ) version: int class mpatchError(Exception): ... def patches(text: bytes, bins: List[bytes]) -> bytes: ... def patchedsize(orig: int, data: bytes) -> int: ...