changeset 3233:bd01eb0108f4 stable

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.
author Denis Laxalde <denis@laxalde.org>
date Thu, 07 Dec 2017 20:34:18 +0100
parents 996dabc4224b
children e6b980687311
files hgext3rd/evolve/cmdrewrite.py
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- 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
     """