From patchwork Wed Dec 6 00:29:19 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [2, of, 2, evolve-ext, V2] help: fix output for `hg help -e evolve` wrt 'touch' command From: via Mercurial-devel X-Patchwork-Id: 25961 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Tue, 05 Dec 2017 16:29:19 -0800 # HG changeset patch # User Kyle Lippincott # 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 """