This is an archive of the discontinued Mercurial Phabricator instance.

rust-dirstatemap: remove `set_dirstate_entry`/`set_entry` methods
Needs ReviewPublic

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

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

These methods were needed crutches before the Rust implementation caught up
to Python. Calling set_entry (whether from Python or Rust) was dangerous
since it didn't update any of the counters of the DirstateMap data structure,
while having no real way of knowing when to use it "correctly" except it you
were one of the 3 people who looked deep enough into the soul of this code.

Diff Detail

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