##// END OF EJS Templates
rust-dirstate-v2: don't write dirstate if data file has changed...
rust-dirstate-v2: don't write dirstate if data file has changed This fixes the following race: - process A reads the dirstate - process B reads and writes the dirstate - process A writes the dirstate This either resulted in losing what process B had just written or a crash because the `uuid` had changed and we were trying to write to a file that doesn't exist. More explanations inside. This doesn't fix the issue for dirstate-v1, a later patch addresses it.
Raphaël Gomès -
r51139:07d030b3 stable
Show More
Name Size Modified Last Commit Author
/ rust / hg-core / src / dirstate_tree
dirstate_map.rs Loading ...
on_disk.rs Loading ...
owning.rs Loading ...
path_with_basename.rs Loading ...
status.rs Loading ...