Mercurial > hg
comparison mercurial/dirstateguard.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 | 6000f5b25c9b |
children |
comparison
equal
deleted
inserted
replaced
49128:464747faef14 | 49129:74c996f84958 |
---|