touch: shorten touch's docstring to make it fit into a one line stable
authorDenis Laxalde <denis@laxalde.org>
Thu, 07 Dec 2017 20:34:18 +0100
branchstable
changeset 3233 bd01eb0108f4
parent 3231 996dabc4224b
child 3269 e6b980687311
touch: shorten touch's docstring to make it fit into a one line This make it show completely (untruncated) in `hg help -e evolve`. This follows up on fed946edc293 where the docstring got unwrap for that purpose and thus made the line length exceed 80 columns.
hgext3rd/evolve/cmdrewrite.py
--- a/hgext3rd/evolve/cmdrewrite.py	Wed Dec 06 02:08:37 2017 +0100
+++ b/hgext3rd/evolve/cmdrewrite.py	Thu Dec 07 20:34:18 2017 +0100
@@ -1000,9 +1000,7 @@
     # allow to choose the seed ?
     _('[-r] revs'))
 def touch(ui, repo, *revs, **opts):
-    # 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
+    """create successors identical to their predecessors but the changeset ID
 
     This is used to "resurrect" changesets
     """