comparison mercurial/revlogutils/constants.py @ 39594:bdb41eaa8b59

snapshot: fix line order when skipping over empty deltas The code movement in 37957e07138c introduced an error. Since 8f83a953dddf, we discarded some revisions because they are identical to their delta base (and use that delta base instead). That logic is good, however, in 37957e07138c we mixed up the order of two line, adding the "new" revision to the set of already tested one, instead of the discarded one. So in practice, we were never investigating any revisions in a chain starting with an empty delta. Creating significantly worst delta chain (eg: Mercurial's manifest move goes from about 60MB up to about 80MB).
author Boris Feld <boris.feld@octobus.net>
date Mon, 10 Sep 2018 10:11:21 +0200
parents b66ea3fc3a86
children 8e398628a3f2
comparison
equal deleted inserted replaced
39593:c8514f858788 39594:bdb41eaa8b59