##// END OF EJS Templates
rust: make RevlogError AmbiguousPrefix case contain the actual prefix...
rust: make RevlogError AmbiguousPrefix case contain the actual prefix This brings the work started in `652149ed64f0` to its logical conclusion and makes the RevlogError self-sufficient so it can be directly converted to CommandError, without an extra rev text annotation. Without this change, it's confusing that the extra annotation is ignored in most-but-not-all cases.

File last commit:

r53206:56e8841a default
r53240:393ad268 default
Show More
Cargo.toml
26 lines | 563 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 = "2021"
[dependencies]
hg-core = { path = "../hg-core"}
chrono = "0.4.23"
clap = { version = "4", features = ["cargo"] }
derive_more = "0.99.17"
home = "0.5.4"
lazy_static = "1.4.0"
log = "0.4.17"
logging_timer = "1.1.0"
regex = "1.7.0"
env_logger = "0.11"
format-bytes = "0.3.0"
shellexpand = { version = "3.1", features = ["full"]}
whoami = "1.4"
which = "4.3.0"
rayon = "1.7.0"
libc = "0.2.155"