This is an archive of the discontinued Mercurial Phabricator instance.

dirstatemap: move `set_tracked` out of common methods and plug in Rust
ClosedPublic

Authored by Alphare on Apr 6 2022, 10:11 AM.

Details

Summary

We now have a Rust-specific implementation of this method, it is no longer
shared between both implementations.

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.Apr 6 2022, 10:11 AM
marmoute accepted this revision.Apr 8 2022, 6:55 AM
marmoute added a subscriber: marmoute.
marmoute added inline comments.
rust/hg-cpython/src/dirstate/dirstate_map.rs
134–146

That 12 line one liner seems correct. (however 12 lines…)

This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.
baymax updated this revision to Diff 32922.Apr 8 2022, 12:29 PM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

baymax updated this revision to Diff 33024.Apr 12 2022, 10:57 AM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

baymax updated this revision to Diff 33104.Apr 12 2022, 12:05 PM

✅ refresh by Heptapod after a successful CI run (🐙 💚)