( )⚙ D12217 merge: remove direct rustmod reference

This is an archive of the discontinued Mercurial Phabricator instance.

merge: remove direct rustmod reference
ClosedPublic

Authored by Alphare on Mar 1 2022, 4:41 AM.

Details

Summary

We shouldn't rely on this member being present in dirstate.py, this creates
unnecessary coupling.
This also can trigger certain issues in edge-cases where the policy is changed
at runtime or multiple Python environments fight, which is an added bonus.

Diff Detail

Repository
rHG Mercurial
Branch
stable
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

Alphare created this revision.Mar 1 2022, 4:41 AM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.