This is an archive of the discontinued Mercurial Phabricator instance.

rust: Remove the compile-time 'dirstate-tree' feature flag
ClosedPublic

Authored by SimonSapin on Apr 8 2021, 3:52 PM.

Details

Summary

This code has compiler errors since it is not built on CI and nobody has been
working on it for some time.

We (Octobus) are still pursuing status optimizations based on a tree data
structure for the dirstate, but upcoming patches will use a run-time opt-in
instead of compile-time, so that at least corresponding Rust code keeps
compiling when other changes are made.

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.Apr 8 2021, 3:52 PM
marmoute accepted this revision.Apr 8 2021, 11:36 PM
marmoute added a subscriber: marmoute.

This is all true.

pulkit accepted this revision.Apr 11 2021, 5:26 PM
This revision is now accepted and ready to land.Apr 11 2021, 5:26 PM
rust/hg-core/src/dirstate/dirstate_tree.rs