This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: Removed unused instances of `DirsMultiset`
ClosedPublic

Authored by SimonSapin on Jul 2 2021, 8:36 AM.

Details

Summary

… in Rust-backed dirstatemap.

The Python class dirstatemap had cached properties _dirs and _alldirs
that were not used for hastrackeddir and hasdir since they were redundant
with corresponding fields for the Rust DirstateMap struct.

dirfoldmap is modified to reuse instead the directory iterator introduced
in 3b9914b28133c0918186b6e8b9e4f1916e21338d.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.