Mercurial > hg
view mercurial/cext/base85.pyi @ 46373:711ba0f1057e
revlog: decouple caching from addrevision callback for addgroup
For changesets, it is useful to cache the content as it will almost
always be processed afterwards. For manifests on the other hand, the
content is often not used directly as there is a fast path for deltas.
Explicitly disable the cache in exchangev2's manifest handling for that
reason.
Differential Revision: https://phab.mercurial-scm.org/D9847
author | Joerg Sonnenberger <joerg@bec.de> |
---|---|
date | Wed, 20 Jan 2021 14:47:13 +0100 |
parents | 8dca9051a859 |
children | 9367571fea21 |
line wrap: on
line source
from typing import Optional version: int def b85encode(text: bytes, pad: Optional[int]) -> bytes: ... def b85decode(text: bytes) -> bytes: ...