mercurial/cext/mpatch.pyi
author Pierre-Yves David <pierre-yves.david@octobus.net>
Fri, 16 Apr 2021 00:16:43 +0200
changeset 47287 9cc9b4a25248
parent 46042 8dca9051a859
permissions -rw-r--r--
urlutil: provide some information about "bad url" when processing `pushurl` It appears pushurl only support `<proto>://` entries. This is not obvious and can lead to obscure error. We make the error less obscure as a start.. Differential Revision: https://phab.mercurial-scm.org/D10455

from typing import (
    List,
)

version: int

class mpatchError(Exception): ...

def patches(text: bytes, bins: List[bytes]) -> bytes: ...
def patchedsize(orig: int, data: bytes) -> int: ...