Commits

Anonymous committed de20d55

debugobsstorestat: add test for pruning

There is multiple prune specific code in this command. So we test it in the
presence of prun marker too.

  • Participants
  • Parent commits 5d3dded
  • Branches default

Comments (0)

Files changed (1)

File tests/test-prune.t

   abort: unknown revision '2702dd0c91e7'!
   [255]
 
+  $ hg debugobsstorestat
+  markers total:                      4
+      for known precursors:           4
+      with parents data:              0
+  markers with no successors:         4
+                1 successors:         0
+                2 successors:         0
+      more than 2 successors:         0
+  average meta length:               27
+      available  keys:
+                 date:                4
+                 user:                4
+  disconnected clusters:              4
+          any known node:             4
+          smallest length:            1
+          longer length:              1
+          median length:              1
+          mean length:                1
+      using parents data:             4
+          any known node:             4
+          smallest length:            1
+          longer length:              1
+          median length:              1
+          mean length:                1