##// END OF EJS Templates
typing: correct the signature of error.CommandError...
typing: correct the signature of error.CommandError There's a place in `mercurial.dispatch._parse()` that passes None if a parse error happens before the command can be parsed out, and casting the error to bytes works fine because the command and message fields are apparently ignored. Likewise, TortoiseHg similarly passes None for the same reason.

File last commit:

r50533:5844cd8e default
r51258:3dbc7b1e 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: move all crates in the main workspace to edition 2021...
r50524 edition = "2021"
Georges Racinet
rust-cpython: start cpython crate bindings...
r41001
[lib]
name='rusthg'
crate-type = ["cdylib"]
[dependencies]
Raphaël Gomès
hg-cpython: upgrade dependencies...
r50533 cpython = { version = "0.7.1", features = ["extension-module"] }
crossbeam-channel = "0.5.6"
Raphaël Gomès
rust-re2: add wrapper for calling Re2 from Rust...
r44786 hg-core = { path = "../hg-core"}
Raphaël Gomès
hg-cpython: upgrade dependencies...
r50533 libc = "0.2.137"
log = "0.4.17"
env_logger = "0.9.3"
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"