[PATCH evolve-ext] help: fix output for `hg help -e evolve` wrt 'touch' command
Kyle Lippincott
spectral at google.com
Wed Dec 6 00:28:38 UTC 2017
# HG changeset patch
# User Kyle Lippincott <spectral at google.com>
# Date 1512519068 28800
# Tue Dec 05 16:11:08 2017 -0800
# Node ID d584dfa21ea0bfa8a0fde0800978e8e682fa7544
# Parent 21abe1e218b87428e4249e67990c345c63d521f6
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
diff --git a/hgext3rd/evolve/cmdrewrite.py b/hgext3rd/evolve/cmdrewrite.py
--- a/hgext3rd/evolve/cmdrewrite.py
+++ b/hgext3rd/evolve/cmdrewrite.py
@@ -1048,8 +1048,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
"""
More information about the Mercurial-devel
mailing list