Mercurial > evolve
view .hg-format-source @ 5862:5056fb0c919e stable
evolve: use nullrev for an empty cache key
Pairing nullid with nullrev (-1) seems more logical than pairing it with 0.
This also means we don't false-detect strips out of nowhere. That used to
happen because newkey (-1, nullid) != self._cachekey (0, nullid).
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 24 Mar 2021 22:07:07 +0800 |
parents | 48b30ff742cb |
children |