[PATCH] help: include --interactive in non-verbose help for revert (issue5306)

Pulkit Goyal 7895pulkit at gmail.com
Tue Jul 19 18:18:47 EDT 2016


# HG changeset patch
# User Pulkit Goyal <7895pulkit at gmail.com>
# Date 1468966489 -19800
#      Wed Jul 20 03:44:49 2016 +0530
# Branch stable
# Node ID 81655a844fe94211ced143097e043a519257cd22
# Parent  334632380e22e4aa960068fc7e173bbe8a13d983
help: include --interactive in non-verbose help for revert (issue5306)

The flag was marked as experimental, but its more than 15 months that feature was added.
So we should include it in the help and also unmark it as experimental. The initial patch
 can be seen here https://www.selenic.com/hg/rev/521fe8287dd5

diff -r 334632380e22 -r 81655a844fe9 mercurial/commands.py
--- a/mercurial/commands.py	Tue Jul 19 21:16:44 2016 +0900
+++ b/mercurial/commands.py	Wed Jul 20 03:44:49 2016 +0530
@@ -6301,7 +6301,7 @@
     ('r', 'rev', '', _('revert to the specified revision'), _('REV')),
     ('C', 'no-backup', None, _('do not save backup copies of files')),
     ('i', 'interactive', None,
-            _('interactively select the changes (EXPERIMENTAL)')),
+            _('interactively select the changes')),
     ] + walkopts + dryrunopts,
     _('[OPTION]... [-r REV] [NAME]...'))
 def revert(ui, repo, *pats, **opts):


More information about the Mercurial-devel mailing list