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.
--- 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).