help: fix output for `hg help -e evolve` wrt 'touch' command stable
authorKyle Lippincott <spectral@google.com>
Tue, 05 Dec 2017 16:11:08 -0800
branchstable
changeset 3230 fed946edc293
parent 3229 63f6f9db9c3a
child 3231 996dabc4224b
help: fix output for `hg help -e evolve` wrt 'touch' command Currently, when running `hg help -e evolve`, the output looks like this on my screen: touch create successors that are identical to their predecessors except With this change, it looks like this: touch create successors that are identical to their predecessors except for the changeset ID
hgext3rd/evolve/cmdrewrite.py
--- a/hgext3rd/evolve/cmdrewrite.py	Tue Dec 05 16:08:50 2017 -0800
+++ b/hgext3rd/evolve/cmdrewrite.py	Tue Dec 05 16:11:08 2017 -0800
@@ -1000,8 +1000,9 @@
     # allow to choose the seed ?
     _('[-r] revs'))
 def touch(ui, repo, *revs, **opts):
-    """create successors that are identical to their predecessors except
-    for the changeset ID
+    # Do not split this next line to fit into 80 cols, it is displayed when
+    # running `hg` with no arguments!
+    """create successors that are identical to their predecessors except for the changeset ID
 
     This is used to "resurrect" changesets
     """