comparison tests/test-exchange-D3.t @ 2083:778afb036245

discovery: introduce a official 'obshash associated to a range The hash in a combination of the hash a its subrange. If the range is a leaf, we have the obsmarker relevant to the node in that leaf range.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 10 Mar 2017 10:36:46 -0800
parents 8a06b32061ce
children d0bc98161794
comparison
equal deleted inserted replaced
2082:3f787182509f 2083:778afb036245
51 o a9bdc8b26820 (public): O 51 o a9bdc8b26820 (public): O
52 52
53 $ hg debugobsolete 53 $ hg debugobsolete
54 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 6aa67a7b4baa6fb41b06aed38d5b1201436546e2 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} 54 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 6aa67a7b4baa6fb41b06aed38d5b1201436546e2 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
55 6aa67a7b4baa6fb41b06aed38d5b1201436546e2 0 {35b1839966785d5703a01607229eea932db42f87} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} 55 6aa67a7b4baa6fb41b06aed38d5b1201436546e2 0 {35b1839966785d5703a01607229eea932db42f87} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
56 $ hg debugobsrelsethashtree
57 a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04 0000000000000000000000000000000000000000
58 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 0000000000000000000000000000000000000000
59 35b1839966785d5703a01607229eea932db42f87 65a9f21dff0702355e973a8f31d3b3b7e59376fb
60 $ hg debugstablerange --rev 'head()'
61 rev node index size depth obshash
62 2 35b183996678 0 2 2 65a9f21dff07
63 2 35b183996678 1 1 2 65a9f21dff07
64 0 a9bdc8b26820 0 1 1 000000000000
56 $ cd .. 65 $ cd ..
57 $ cd .. 66 $ cd ..
58 67
59 Actual Test 68 Actual Test
60 ------------------------------------- 69 -------------------------------------