Mercurial > public > mercurial-scm > hg
annotate rust/hg-core/src/dirstate_tree.rs @ 50239:491f3dd080eb stable
dirstate: deal with read-race for pure rust code path (rhg)
If we cannot read the dirstate data, this is probably because a writing process
wrote it under our feet. So refresh the docket and try again a handful of time.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Tue, 28 Feb 2023 19:36:46 +0100 |
parents | 3d0a9c6e614d |
children |
rev | line source |
---|---|
47095
473abf4728bf
dirstate-tree: Empty shell for a second Rust DirstateMap implementation
Simon Sapin <simon.sapin@octobus.net>
parents:
47093
diff
changeset
|
1 pub mod dirstate_map; |
47280
1766130fe9ba
dirstate-v2: Change the on-disk format when the requirement is enabled
Simon Sapin <simon.sapin@octobus.net>
parents:
47112
diff
changeset
|
2 pub mod on_disk; |
47954
4afd6cc447b9
rust: Make OwningDirstateMap generic and move it into hg-core
Simon Sapin <simon.sapin@octobus.net>
parents:
47374
diff
changeset
|
3 pub mod owning; |
47096
3c11c24b82b6
dirstate-tree: Add `WithBasename` wrapper for `HgPath`
Simon Sapin <simon.sapin@octobus.net>
parents:
47095
diff
changeset
|
4 pub mod path_with_basename; |
47374
bd88b6bfd8da
rhg: Add support for dirstate-v2
Simon Sapin <simon.sapin@octobus.net>
parents:
47280
diff
changeset
|
5 pub mod status; |