hgext3rd/evolve/debugcmd.py
branchstable
changeset 2547 3c594000844b
parent 2440 0fa7971071b1
child 4715 12c8b24757f4
--- a/hgext3rd/evolve/debugcmd.py	Tue Jun 06 15:10:13 2017 -0700
+++ b/hgext3rd/evolve/debugcmd.py	Mon Jun 05 10:15:00 2017 +0100
@@ -91,7 +91,10 @@
         fc = (frozenset(c[0]), frozenset(c[1]))
         for n in fc[0]:
             pclustersmap[n] = fc
-    ui.write(('    for known precursors:   %9i\n' % known))
+    numobs = len(unfi.revs('obsolete()'))
+    numtotal = len(unfi)
+    ui.write(('    for known precursors:   %9i' % known))
+    ui.write((' (%i/%i obsolete changesets)\n' % (numobs, numtotal)))
     ui.write(('    with parents data:      %9i\n' % parentsdata))
     # successors data
     ui.write(('markers with no successors: %9i\n' % sucscount[0]))