( )⚙ D10364 dirstate-tree: Empty shell for a second Rust DirstateMap implementation

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate-tree: Empty shell for a second Rust DirstateMap implementation
ClosedPublic

Authored by SimonSapin on Apr 12 2021, 8:23 AM.

Details

Summary

For background see description of the previous changeset
"Make Rust DirstateMap bindings go through a trait object".

Add an empty shell for a opt-in second Rust implementation of the
DirstateMap type and the status function. For now all methods panic.
This can be seen in "action" with:

./hg status --config experimental.dirstate-tree.in-memory=1

Diff Detail

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

Event Timeline

SimonSapin created this revision.Apr 12 2021, 8:23 AM
baymax updated this revision to Diff 27048.Apr 19 2021, 11:02 AM

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

Alphare accepted this revision.Apr 19 2021, 11:23 AM
Alphare added a subscriber: Alphare.
Alphare added inline comments.
rust/hg-cpython/src/dirstate/dirstate_map.rs
57

I didn't know you could write as _, but it's cool!

SimonSapin updated this revision to Diff 27315.May 3 2021, 6:23 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.