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
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

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.