Mercurial > public > mercurial-scm > hg-stable
annotate mercurial/cext/base85.pyi @ 53040:cdd7bf612c7b stable tip
bundle-spec: properly format boolean parameter (issue6960)
This was breaking automatic clone bundle generation. This changeset fixes it and
add a test to catch it in the future.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 11 Mar 2025 02:29:42 +0100 |
parents | 9367571fea21 |
children |
rev | line source |
---|---|
46042
8dca9051a859
cext: add .pyi files for C extensions
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff
changeset
|
1 version: int |
8dca9051a859
cext: add .pyi files for C extensions
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff
changeset
|
2 |
51782
9367571fea21
cext: correct the argument handling of `b85encode()`
Matt Harbison <matt_harbison@yahoo.com>
parents:
46042
diff
changeset
|
3 def b85encode(text: bytes, pad: bool = False) -> bytes: ... |
46042
8dca9051a859
cext: add .pyi files for C extensions
Gregory Szorc <gregory.szorc@gmail.com>
parents:
diff
changeset
|
4 def b85decode(text: bytes) -> bytes: ... |