prune: improve help first line stable
authorDan Villiom Podlaski Christiansen <dan@magenta.dk>
Tue, 21 Aug 2018 12:14:04 +0200
branchstable
changeset 3989 b60113460856
parent 3988 3e4fbda6bdce
child 3990 566fe891f1ec
prune: improve help first line The previous help string for prune didn't mention successors in the first line. Note: Pierre-Yves David changed the original "hidden" to "obsolete" as it is better concept to put forward. (a bit more specific and with more consequence than just "hidden"). We need a good `hg help obsolete/obsolescence` result. We'll try to get this in the next version.
hgext3rd/evolve/cmdrewrite.py
--- a/hgext3rd/evolve/cmdrewrite.py	Tue Aug 21 12:21:05 2018 +0200
+++ b/hgext3rd/evolve/cmdrewrite.py	Tue Aug 21 12:14:04 2018 +0200
@@ -952,7 +952,7 @@
     _('[OPTION] [-r] REV...'))
 # XXX -U  --noupdate option to prevent wc update and or bookmarks update ?
 def cmdprune(ui, repo, *revs, **opts):
-    """hide changesets by marking them obsolete
+    """mark changesets as obsolete or succeeded by another changeset
 
     Pruned changesets are obsolete with no successors. If they also have no
     descendants, they are hidden (invisible to all commands).