##// END OF EJS Templates
rebase: calculate obsolescense-related info earlier...
rebase: calculate obsolescense-related info earlier My goal is to use `rewriteutil.precheck()` in the rebase code. Since rebase does its own handling of divergent commits (it skips them instead of erroring out), we need to have divergence-causing commits filtered out early. This patch helps prepare for that. Differential Revision: https://phab.mercurial-scm.org/D10247

File last commit:

r46652:8dca9051 default
r47588:d95edcbe default
Show More
mpatch.pyi
10 lines | 193 B | text/x-python | PythonLexer
from typing import (
List,
)
version: int
class mpatchError(Exception): ...
def patches(text: bytes, bins: List[bytes]) -> bytes: ...
def patchedsize(orig: int, data: bytes) -> int: ...