# HG changeset patch # User Greg Ward # Date 1446907684 18000 # Node ID 0edb2c25f8063c6bf081231cdaf604868593d812 # Parent bd1468c23d885590a4b832fae1de80536fec162e evolve: improve help for some debug commands diff -r bd1468c23d88 -r 0edb2c25f806 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