##// 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.
Raphaël Gomès -
r51121:8fcd5302 stable
Show More
Name Size Modified Last Commit Author
/ rust / rhg / src / commands
cat.rs Loading ...
config.rs Loading ...
debugdata.rs Loading ...
debugignorerhg.rs Loading ...
debugrequirements.rs Loading ...
debugrhgsparse.rs Loading ...
files.rs Loading ...
root.rs Loading ...
status.rs Loading ...