##// END OF EJS Templates
rhg: remember the inode of .hg/dirstate...
rhg: remember the inode of .hg/dirstate This allows us to detect changes of `.hg/dirstate`, which is either the full dirstate (in dirstate-v1) or the docket file (v2) without relying on data inside the file. It only works on UNIX systems. This fixes a race condition for dirstate-v1 (as demonstrated by the test changes) and adds a confortable layer of sanity for dirstate-v2.

File last commit:

r50533:5844cd8e default
r51140:dbe09fb0 stable
Show More
Cargo.toml
19 lines | 404 B | text/plain | TOMLLexer
[package]
name = "hg-cpython"
version = "0.1.0"
authors = ["Georges Racinet <gracinet@anybox.fr>"]
edition = "2018"
[lib]
name='rusthg'
crate-type = ["cdylib"]
[dependencies]
cpython = { version = "0.7.0", features = ["extension-module"] }
crossbeam-channel = "0.5.2"
hg-core = { path = "../hg-core"}
libc = "0.2.119"
log = "0.4.14"
env_logger = "0.9.0"
stable_deref_trait = "1.2.0"
vcsgraph = "0.2.0"