Mercurial > public > mercurial-scm > hg-stable
diff tests/test-revlog-raw.py @ 49793:b670eb3dd6c9
delta-find: use sets instead of list in the snapshot cache
This seems more appropriate.
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sun, 06 Nov 2022 17:55:46 -0500 |
parents | efbbc2f9121e |
children | 39fa0b948f5a |
line wrap: on
line diff
--- a/tests/test-revlog-raw.py Sun Nov 06 16:56:23 2022 -0500 +++ b/tests/test-revlog-raw.py Sun Nov 06 17:55:46 2022 -0500 @@ -466,8 +466,8 @@ print(' got: %s' % result) -snapshotmapall = {0: [6, 8, 11, 17, 19, 25], 8: [21], -1: [0, 30]} -snapshotmap15 = {0: [17, 19, 25], 8: [21], -1: [30]} +snapshotmapall = {0: {6, 8, 11, 17, 19, 25}, 8: {21}, -1: {0, 30}} +snapshotmap15 = {0: {17, 19, 25}, 8: {21}, -1: {30}} def findsnapshottest(rlog):