Mercurial > hg
comparison hgext/hgk.py @ 49002:fbc02ccc207e stable
rust-dirstatemap: properly decrement counter for tracked descendants
I found this bug when writing unit tests after the fact for the `DirstateMap`.
We never decremented the tracked descendants counter since we were always
resetting the node data before reading it. This also drops the use of `state`,
in favor of the new API to get that information.
Differential Revision: https://phab.mercurial-scm.org/D12431
author | Raphaël Gomès <rgomes@octobus.net> |
---|---|
date | Tue, 05 Apr 2022 10:55:28 +0200 |
parents | d55b71393907 |
children | 6000f5b25c9b |
comparison
equal
deleted
inserted
replaced
49001:2593873cda0f | 49002:fbc02ccc207e |
---|