This is an archive of the discontinued Mercurial Phabricator instance.

rust-dirstatemap: inline the last `get_or_insert` call
Needs ReviewPublic

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

Details

Reviewers
None
Group Reviewers
hg-reviewers
Summary

The get_or_insert method was dangerous because it did not take the
DirstateMap counters into account. This particular instance does not need
to update the counters.

Diff Detail

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