This is an archive of the discontinued Mercurial Phabricator instance.

rust: Remove support for passing a dict to the Rust pathutil.dirs()
ClosedPublic

Authored by SimonSapin on Sep 20 2021, 6:16 PM.

Details

Summary

That is only used by the Python dirstatemap, which not used when Rust
is enabled.

This allows removing the private extract_dirstate function which
creates DirstateEntry values. This in turn will make easier upcoming
changes to DirstateEntry.

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.