# HG changeset patch # User Raphaël Gomès # Date 2020-03-04 14:12:08 # 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 --git a/rust/hg-core/src/utils/path_auditor.rs b/rust/hg-core/src/utils/path_auditor.rs --- a/rust/hg-core/src/utils/path_auditor.rs +++ b/rust/hg-core/src/utils/path_auditor.rs @@ -117,6 +117,7 @@ impl PathAuditor { continue; } self.check_filesystem(&prefix, &path)?; + self.audited_dirs.insert(prefix.to_owned()); } self.audited.insert(path.to_owned());