mercurial/cext/base85.pyi
author Pierre-Yves David <pierre-yves.david@octobus.net>
Mon, 19 Jul 2021 22:19:36 +0200
changeset 47660 aa2296893168
parent 46042 8dca9051a859
child 51782 9367571fea21
permissions -rw-r--r--
upgrade: avoid a traceback in case of unrecognized revlog Without this, in case of revlog name not matching any know pattern we would get a traceback. Raising a clear error seems simpler. Differential Revision: https://phab.mercurial-scm.org/D11202

from typing import Optional

version: int

def b85encode(text: bytes, pad: Optional[int]) -> bytes: ...
def b85decode(text: bytes) -> bytes: ...