##// END OF EJS Templates
streamclone: avoid some obscure error in a corner case...
streamclone: avoid some obscure error in a corner case I don't really know how, but I ran into this error: $ hg clone --stream ssh://user@dummy/empty-repo local-empty-repo streaming all changes abort: unable to apply stream clone: unsupported format: [255] I think you need an empty list of requirements for this to happen, which is weird, but an obscure error like this is not exactly helpful either. Since this is the result of an encoding bug anyway, just fix it. Differential Revision: https://phab.mercurial-scm.org/D12402

File last commit:

r46652:8dca9051 default
r49847:d9ed7c5e stable
Show More
base85.pyi
6 lines | 145 B | text/x-python | PythonLexer
Gregory Szorc
cext: add .pyi files for C extensions...
r46652 from typing import Optional
version: int
def b85encode(text: bytes, pad: Optional[int]) -> bytes: ...
def b85decode(text: bytes) -> bytes: ...