##// END OF EJS Templates
clonebundle: add a `filter_bundle_url` function...
clonebundle: add a `filter_bundle_url` function This function does nothing by default, but give extension the opportunity to alter the URL, typically, this could be used to inject authentication token when serving clone bundle for private repositories.

File last commit:

r50491:b8389533 default
r51438:dc201a09 default
Show More
bdiff.pyi
12 lines | 348 B | text/x-python | PythonLexer
Gregory Szorc
cext: add .pyi files for C extensions...
r46652 from typing import (
List,
Tuple,
)
version: int
Matt Harbison
typing: fix a syntax error in mercurial/cext/bdiff.pyi...
r50491 def bdiff(a: bytes, b: bytes) -> bytes: ...
Gregory Szorc
cext: add .pyi files for C extensions...
r46652 def blocks(a: bytes, b: bytes) -> List[Tuple[int, int, int, int]]: ...
def fixws(s: bytes, allws: bool) -> bytes: ...
def splitnewlines(text: bytes) -> List[bytes]: ...
def xdiffblocks(a: bytes, b: bytes) -> List[Tuple[int, int, int, int]]: ...