##// 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:

r50535:ab6151e1 default
r50536:f09bc2ed stable
Show More
Cargo.toml
25 lines | 478 B | application/toml | TOMLLexer
[package]
name = "rhg"
version = "0.1.0"
authors = [
"Antoine Cezar <antoine.cezar@octobus.net>",
"Raphaël Gomès <raphael.gomes@octobus.net>",
]
edition = "2018"
[dependencies]
atty = "0.2.14"
hg-core = { path = "../hg-core"}
chrono = "0.4.19"
clap = "2.34.0"
derive_more = "0.99.17"
home = "0.5.3"
lazy_static = "1.4.0"
log = "0.4.14"
micro-timer = "0.4.0"
regex = "1.5.5"
env_logger = "0.9.0"
format-bytes = "0.3.0"
users = "0.11.0"
which = "4.2.5"
rayon = "1.5.1"