( )⚙ D10546 dirstate-tree: Give to `status()` mutable access to the `DirstateMap`

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate-tree: Give to `status()` mutable access to the `DirstateMap`
ClosedPublic

Authored by SimonSapin on May 3 2021, 6:24 AM.

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

SimonSapin created this revision.May 3 2021, 6:24 AM
Alphare added a subscriber: Alphare.May 3 2021, 9:03 AM
Alphare added inline comments.
rust/hg-cpython/src/dirstate/dirstate_map.rs
530

Should this be called get_inner_mut then?

SimonSapin added inline comments.May 6 2021, 5:09 AM
rust/hg-cpython/src/dirstate/dirstate_map.rs
530

Yeah that makes sense, will do.

baymax updated this revision to Diff 27622.May 6 2021, 12:03 PM

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

Alphare accepted this revision.May 6 2021, 12:09 PM
This revision is now accepted and ready to land.May 6 2021, 12:09 PM