Mercurial > evolve
diff tests/test-discovery-obshashrange-cache.t @ 5866:5931ad39ea37 stable
evolve: make stablesortcache.save/load use struct.unpack/pack (issue6354)
arraytobytes() and arrayfrombytes() is not cross-platform.
author | Anton Shestakov <av6@dwimlabs.net> |
---|---|
date | Wed, 31 Mar 2021 20:39:37 +0800 |
parents | d7ed88810457 |
children | 1b6dfac6b17e |
line wrap: on
line diff
--- a/tests/test-discovery-obshashrange-cache.t Tue Mar 30 19:35:52 2021 +0800 +++ b/tests/test-discovery-obshashrange-cache.t Wed Mar 31 20:39:37 2021 +0800 @@ -336,3 +336,19 @@ number of revisions: 8 number of merge: 0 number of jumps: 0 + + $ "$PYTHON" truncate.py main/.hg/cache/evoext-stablesortcache-00 -4 + $ f -H main/.hg/cache/evoext-stablesortcache-00 + main/.hg/cache/evoext-stablesortcache-00: + 0000: 00 00 00 07 4d e3 2a 90 b6 6c d0 83 eb f3 c0 0b |....M.*..l......| + 0010: 41 27 7a a7 ab ca 51 dd 00 00 00 40 00 00 00 00 |A'z...Q....@....| + 0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| + 0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| + 0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| + 0050: 00 00 00 00 00 00 00 00 |........| + + $ hg -R main debugstablesortcache --debug + number of revisions: 8 + stablesortcache file seems to be corrupted, it will be rebuilt from scratch + number of merge: 0 + number of jumps: 0