comparison tests/test-exchange-C1.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 a49f2e7a2755
children d0bc98161794
comparison
equal deleted inserted replaced
2082:3f787182509f 2083:778afb036245
46 @ a9bdc8b26820 (public): O 46 @ a9bdc8b26820 (public): O
47 47
48 $ hg debugobsolete 48 $ hg debugobsolete
49 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} 49 f5bc6836db60e308a17ba08bf050154ba9c4fad7 0 {a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
50 f6fbb35d8ac958bbe70035e4c789c18471cdc0af 0 {f5bc6836db60e308a17ba08bf050154ba9c4fad7} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'} 50 f6fbb35d8ac958bbe70035e4c789c18471cdc0af 0 {f5bc6836db60e308a17ba08bf050154ba9c4fad7} (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
51 $ hg debugobsrelsethashtree
52 a9bdc8b26820b1b87d585b82eb0ceb4a2ecdbc04 1ce18e5a71f78d443a80c819f2f7197c4706af70
53 f5bc6836db60e308a17ba08bf050154ba9c4fad7 92af733686ce7e0469d8b2b87b4612a4c2d33468
54 f6fbb35d8ac958bbe70035e4c789c18471cdc0af 3800aeba3728457abb9c508c94f6abc59e698c55
55 $ hg debugstablerange --rev 'head()'
56 rev node index size depth obshash
57 0 a9bdc8b26820 0 1 1 1ce18e5a71f7
51 $ cd .. 58 $ cd ..
52 $ cd .. 59 $ cd ..
53 60
54 $ cp -r C.1 C.1.a 61 $ cp -r C.1 C.1.a
55 $ cp -r C.1 C.1.b 62 $ cp -r C.1 C.1.b