evolve: improve help for some debug commands stable
authorGreg Ward <greg@gerg.ca>
Sat, 07 Nov 2015 09:48:04 -0500
branchstable
changeset 1570 0edb2c25f806
parent 1569 bd1468c23d88
child 1571 0e8936e7cb89
evolve: improve help for some debug commands
hgext/evolve.py
--- a/hgext/evolve.py	Fri Nov 06 21:42:06 2015 -0500
+++ b/hgext/evolve.py	Sat Nov 07 09:48:04 2015 -0500
@@ -1128,11 +1128,12 @@
 
 @command('debugrecordpruneparents', [], '')
 def cmddebugrecordpruneparents(ui, repo):
-    """add parents data to prune markers when possible
-
-    This commands search the repo for prune markers without parent information.
-    If the pruned node is locally known, a new markers with parent data is
-    created."""
+    """add parent data to prune markers when possible
+
+    This command searches the repo for prune markers without parent information.
+    If the pruned node is locally known, it creates a new marker with parent
+    data.
+    """
     pgop = 'reading markers'
 
     # lock from the beginning to prevent race
@@ -1164,6 +1165,7 @@
 
 @command('debugobsstorestat', [], '')
 def cmddebugobsstorestat(ui, repo):
+    """print statistics about obsolescence markers in the repo"""
     def _updateclustermap(nodes, mark, clustersmap):
         c = (set(nodes), set([mark]))
         toproceed = set(nodes)
@@ -1181,7 +1183,6 @@
                 c = other
             clustersmap[n] = c
 
-    """print statistic about obsolescence markers in the repo"""
     store = repo.obsstore
     unfi = repo.unfiltered()
     nm = unfi.changelog.nodemap