( )⚙ D11487 dirstate: Skip no-op conversion in Rust DirstateMap::set_v1

This is an archive of the discontinued Mercurial Phabricator instance.

dirstate: Skip no-op conversion in Rust DirstateMap::set_v1
ClosedPublic

Authored by SimonSapin on Sep 22 2021, 4:55 PM.

Details

Summary

Now that the DirstateItem python class is implemented in Rust containing
a DirstateEntry value, use that value directly instead of reconstructing
it from v1 data.

Also rename from set_v1 since dirstate-v1 data is not used anymore.

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.