comparison tests/test-exchange-D2.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
47 @ a9bdc8b26820 (public): O 47 @ a9bdc8b26820 (public): O
48 48
49 $ hg debugobsolete 49 $ hg debugobsolete
50 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} 50 28b51eb45704506b5c603decd6bf7ac5e0f6a52f e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
51 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} 51 e5ea8f9c73143125d36658e90ef70c6d2027a5b7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
52 $ hg debugobsrelsethashtree
53 a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04 554c0b12f7d9fff20cb904c26e12eee337e3309c
54 28b51eb45704506b5c603decd6bf7ac5e0f6a52f 5c81c58ce0a8ad61dd9cf4c6949846b5990af30d
55 $ hg debugstablerange --rev 'head()'
56 rev node index size depth obshash
57 0 a9bdc8b26820 0 1 1 554c0b12f7d9
52 $ cd .. 58 $ cd ..
53 $ cd .. 59 $ cd ..
54 60
55 Actual Test 61 Actual Test
56 ------------------------------------- 62 -------------------------------------