# HG changeset patch # User Raphaël Gomès # Date 1583331128 -3600 # Node ID 8a237131ff0f5857d2b0d3791dd27d3547fed8b6 # Parent e63b4a1f22716544876ccef6775a1e45dbc85723 rust-pathauditor: actually populate the `audited_dirs` cache I forgot this when rewriting this logic during the review process. Differential Revision: https://phab.mercurial-scm.org/D8212 diff -r e63b4a1f2271 -r 8a237131ff0f rust/hg-core/src/utils/path_auditor.rs --- a/rust/hg-core/src/utils/path_auditor.rs Wed Mar 04 15:10:03 2020 +0100 +++ b/rust/hg-core/src/utils/path_auditor.rs Wed Mar 04 15:12:08 2020 +0100 @@ -117,6 +117,7 @@ continue; } self.check_filesystem(&prefix, &path)?; + self.audited_dirs.insert(prefix.to_owned()); } self.audited.insert(path.to_owned());