##// END OF EJS Templates
help: fix a py3 error interpolating Set into b'%s'...
help: fix a py3 error interpolating Set into b'%s' I can't reproduce it, but a coworker hit this with `hg help -v` with 6.2.3: ... File "mercurial\help.pyc", line 865, in helplist TypeError: %b requires a bytes-like object, or an object that implements __bytes__, not 'set' I can confirm that the original expression fails in `hg debugshell`, and the new one works. The second instance was found by searching for "%s", but PyCharm detects a lot of variables as Any type, so I have no idea if there are other lurking problems.

File last commit:

r50533:5844cd8e default
r50536:f09bc2ed stable
Show More
Cargo.toml
19 lines | 404 B | text/plain | TOMLLexer
[package]
name = "hg-cpython"
version = "0.1.0"
authors = ["Georges Racinet <gracinet@anybox.fr>"]
edition = "2018"
[lib]
name='rusthg'
crate-type = ["cdylib"]
[dependencies]
cpython = { version = "0.7.0", features = ["extension-module"] }
crossbeam-channel = "0.5.2"
hg-core = { path = "../hg-core"}
libc = "0.2.119"
log = "0.4.14"
env_logger = "0.9.0"
stable_deref_trait = "1.2.0"
vcsgraph = "0.2.0"