##// END OF EJS Templates
rhg: add a collision detection to complain about duplicated commands...
rhg: add a collision detection to complain about duplicated commands The previous commit made it easier (too easy) to define commands with identical names. It turns out `clap` does nothing to detect such collisions, which also leads to very confusing behavior. This change catches that error, and reports where the commands came from.

File last commit:

r53309:6e8ba528 default
r53421:a0587c1b default
Show More
Cargo.toml
22 lines | 491 B | application/toml | TOMLLexer
[package]
name = "hg-pyo3"
version = "0.1.0"
edition = "2021"
[lib]
name='rusthgpyo3'
crate-type = ["cdylib"]
[dependencies]
pyo3 = { version = "0.23.1", features = ["extension-module"] }
cpython = { version = "0.7.2", features = ["extension-module"] }
hg-cpython = { path = "../hg-cpython" }
python3-sys = { version = "0.7.2" }
hg-core = { path = "../hg-core"}
stable_deref_trait = "1.2.0"
log = "0.4.17"
derive_more = "0.99.17"
env_logger = "0.9.3"
lazy_static = "*"
vcsgraph = "0.2.0"