This is an archive of the discontinued Mercurial Phabricator instance.

rust-dirstatemap: implement part of the `setparents` logic
Needs ReviewPublic

Authored by Alphare on Tue, Apr 12, 12:04 PM.

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

The Python code does many round-trip calls to the Rust dirstatemap when copy
information needs to be dropped in setparents.

This may result in improved performance on commit, update and other such
commands, but was mostly done to drop the last use of set_dirstate_item.
See inline comments for an asterisk about performance, and see next patch for
why set_dirstate_item has to go.

Diff Detail

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