D8212: rust-pathauditor: actually populate the `audited_dirs` cache

2020-03-11 Thread Raphaël Gomès
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=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

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(, )?;
+self.audited_dirs.insert(prefix.to_owned());
 }
 
 self.audited.insert(path.to_owned());



To: Alphare, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D8212: rust-pathauditor: actually populate the `audited_dirs` cache

2020-03-04 Thread Raphaël Gomès
Alphare created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REVISION SUMMARY
  I forgot this when rewriting this logic during the review process.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D8212

AFFECTED FILES
  rust/hg-core/src/utils/path_auditor.rs

CHANGE DETAILS

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(, )?;
+self.audited_dirs.insert(prefix.to_owned());
 }
 
 self.audited.insert(path.to_owned());



To: Alphare, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel