##// END OF EJS Templates
rhg: fix race when an ambiguous file is deleted on disk...
rhg: fix race when an ambiguous file is deleted on disk There are two places in the status code where we handle files whose status we are unsure of based off of metadata alone: this one is the first one to actually disambiguate, and the second one is later in the code (but updated in the previous commit) for files that are actually clean to update the dirstate. Since there is a chance that the contents have changed between those two moments, we need to stat the files again, since re-using the old stat could lie about the clean state of the file.

File last commit:

r51069:596a6b9b merge default
r51121:8fcd5302 stable
Show More
Cargo.toml
25 lines | 478 B | text/plain | TOMLLexer
Antoine Cezar
rhg: add rhg crate...
r45503 [package]
name = "rhg"
version = "0.1.0"
Raphaël Gomès
rhg: use `format_bytes!` for error messages...
r46598 authors = [
"Antoine Cezar <antoine.cezar@octobus.net>",
"Raphaël Gomès <raphael.gomes@octobus.net>",
]
Antoine Cezar
rhg: add rhg crate...
r45503 edition = "2018"
[dependencies]
Raphaël Gomès
rhg: upgrade dependencies...
r49807 atty = "0.2.14"
Antoine Cezar
rhg: add RootCommand using hg-core FindRoot operation to prepare `hg root`...
r45592 hg-core = { path = "../hg-core"}
Simon Sapin
rhg: Add support for the blackbox extension...
r47343 chrono = "0.4.19"
Raphaël Gomès
rhg: upgrade dependencies...
r49807 clap = "2.34.0"
derive_more = "0.99.17"
Pulkit Goyal
rhg: read [paths] for `--repository` value...
r48196 home = "0.5.3"
Simon Sapin
rhg: Fall back to Python on --repository with an URL...
r47463 lazy_static = "1.4.0"
Raphaël Gomès
rhg: upgrade dependencies...
r49807 log = "0.4.14"
micro-timer = "0.4.0"
regex = "1.5.5"
env_logger = "0.9.0"
Simon Sapin
rust: Upgrade to format-bytes 0.3...
r49323 format-bytes = "0.3.0"
Simon Sapin
rhg: Add support for the blackbox extension...
r47343 users = "0.11.0"
Raphaël Gomès
rhg: use `Command::exec` instead of `Command::status`...
r50043 which = "4.2.5"
Raphaël Gomès
rust: upgrade minimum `rayon` dependency...
r50995 rayon = "1.6.1"