[PATCH 5 of 5 V2] help: mention the help on interactive in shelve and commit

Laurent Charignon lcharignon at fb.com
Fri May 29 12:30:01 CDT 2015


# HG changeset patch
# User Laurent Charignon <lcharignon at fb.com>
# Date 1432850765 25200
#      Thu May 28 15:06:05 2015 -0700
# Node ID b2b63cf844518f63e82e6579607b8f3b16775769
# Parent  228821249aa42bcca4715fda8ad56ccb85b9426e
help: mention the help on interactive in shelve and commit

This patch adds mention to the help topic of the interactive mode in the help
message of shelve and commit.

diff --git a/hgext/shelve.py b/hgext/shelve.py
--- a/hgext/shelve.py
+++ b/hgext/shelve.py
@@ -702,6 +702,8 @@
 
     To delete specific shelved changes, use ``--delete``. To delete
     all shelved changes, use ``--cleanup``.
+
+    For more information on the interactive mode, use :hg:`help interactive`.
     '''
     cmdutil.checkunfinished(repo)
 
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -1453,6 +1453,8 @@
     It is not possible to amend public changesets (see :hg:`help phases`)
     or changesets that have children.
 
+    For more information on the interactive mode, use :hg:`help interactive`
+
     See :hg:`help dates` for a list of formats valid for -d/--date.
 
     Returns 0 on success, 1 if nothing changed.


More information about the Mercurial-devel mailing list