diff tests/test-discovery-obshashrange.t @ 2230:a202f3af890c

debugobshashrange: add a --subranges option We stop displaying -everything- by default, since is is usually very large. This will help getting better timing when measuring cache effect too, since we won't need to dig out deep cache value that real life usage would not touch.
author Pierre-Yves David <pierre-yves.david@ens-lyon.org>
date Fri, 24 Mar 2017 09:49:03 +0100
parents 575561934439
children 413fe685bfd0
line wrap: on
line diff
--- a/tests/test-discovery-obshashrange.t	Fri Mar 24 09:42:39 2017 +0100
+++ b/tests/test-discovery-obshashrange.t	Fri Mar 24 09:49:03 2017 +0100
@@ -57,7 +57,7 @@
   dddddddddddddddddddddddddddddddddddddddd c8d03c1b5e94af74b772900c58259d2e08917735 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
   eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee 4de32a90b66cd083ebf3c00b41277aa7abca51dd 0 (Thu Jan 01 00:00:00 1970 +0000) {'user': 'test'}
 
-  $ hg debugobshashrange --rev tip
+  $ hg debugobshashrange --subranges --rev tip
            rev         node        index         size        depth      obshash
              7 4de32a90b66c            0            8            8 38d1e7ad86ea
              3 2dc09a01254d            0            4            4 000000000000