##// 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 | application/toml | TOMLLexer
Georges Racinet
rust-cpython: start cpython crate bindings...
r41001 [package]
name = "hg-cpython"
version = "0.1.0"
authors = ["Georges Racinet <gracinet@anybox.fr>"]
Raphaël Gomès
rust: switch hg-core and hg-cpython to rust 2018 edition...
r42828 edition = "2018"
Georges Racinet
rust-cpython: start cpython crate bindings...
r41001
[lib]
name='rusthg'
crate-type = ["cdylib"]
[dependencies]
Simon Sapin
rust: enable Python 3 support unconditionally...
r49697 cpython = { version = "0.7.0", features = ["extension-module"] }
Raphaël Gomès
rust-hg-cypython: upgrade dependencies...
r49809 crossbeam-channel = "0.5.2"
Raphaël Gomès
rust-re2: add wrapper for calling Re2 from Rust...
r44786 hg-core = { path = "../hg-core"}
Raphaël Gomès
rust-hg-cypython: upgrade dependencies...
r49809 libc = "0.2.119"
log = "0.4.14"
env_logger = "0.9.0"
Simon Sapin
rust: Make OwningDirstateMap generic and move it into hg-core...
r48766 stable_deref_trait = "1.2.0"
pacien
rust: add vcsgraph crate as dependency...
r49348 vcsgraph = "0.2.0"