From patchwork Wed Mar 11 16:25:26 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D8212: rust-pathauditor: actually populate the `audited_dirs` cache From: phabricator X-Patchwork-Id: 45731 Message-Id: <0e162489c22bb9ce89dc9ea7a1bcb9bb@localhost.localdomain> To: Phabricator Cc: mercurial-devel@mercurial-scm.org Date: Wed, 11 Mar 2020 16:25:26 +0000 Closed by commit rHG8a237131ff0f: rust-pathauditor: actually populate the `audited_dirs` cache (authored by Alphare). This revision was automatically updated to reflect the committed changes. This revision was not accepted when it landed; it landed in state "Needs Review". REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D8212?vs=20447&id=20727 CHANGES SINCE LAST ACTION https://phab.mercurial-scm.org/D8212/new/ REVISION DETAIL https://phab.mercurial-scm.org/D8212 AFFECTED FILES rust/hg-core/src/utils/path_auditor.rs CHANGE DETAILS To: Alphare, #hg-reviewers Cc: mercurial-devel 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 @@ continue; } self.check_filesystem(&prefix, &path)?; + self.audited_dirs.insert(prefix.to_owned()); } self.audited.insert(path.to_owned());