This is an archive of the discontinued Mercurial Phabricator instance.

rust-dirstatemap: add `set_tracked` method
ClosedPublic

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

Details

Summary

This is the new dirstate API that has already been moved to in Python.
It will be used in place of the old addfile/removefile one.

Diff Detail

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

Event Timeline

Alphare created this revision.Apr 6 2022, 10:10 AM
marmoute accepted this revision.Apr 8 2022, 6:53 AM
Alphare added inline comments.Apr 8 2022, 6:56 AM
rust/hg-core/src/dirstate_tree/dirstate_map.rs
614

Now that I see it, this really shouldn't call e.state(), but should use e.tracked() directly

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 32921.Apr 8 2022, 12:29 PM

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

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

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

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

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