##// END OF EJS Templates
histedit: fix diff colors...
histedit: fix diff colors The problem here is that indexing a bytestring gives you integers, not chars, so the comparison to b'+' ends up being wrong. We don't really have a way to test curses output, so no tests to verify the correctness of this behaviour.

File last commit:

r50491:b8389533 default
r51227:22d7cb81 stable
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]]: ...