Mercurial > hg
diff mercurial/state.py @ 49129:74c996f84958
rust-dirstatemap: inline the last `get_or_insert` call
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.
Differential Revision: https://phab.mercurial-scm.org/D12527
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Fri, 08 Apr 2022 16:05:47 +0200 |
parents | 642e31cb55f0 |
children | 8ced4ca30ea1 |