[PATCH RFC] revert: no longer mark --interactive as experimental

Augie Fackler raf at durin42.com
Wed Nov 1 23:32:27 UTC 2017


# HG changeset patch
# User Augie Fackler <augie at google.com>
# Date 1509399967 14400
#      Mon Oct 30 17:46:07 2017 -0400
# Node ID a2fc2086ac3116c63ab890180697b2695c50d9f4
# Parent  3ce0e4b51f789eff195ec900a07c1fa5e8d5c5f2
revert: no longer mark --interactive as experimental

We seem to have settled down on behavior changes here (nothing
matching revset `keyword(revert) and keyword(interactive)` since 4.2
was released), so let's go ahead and advertise this excellent feature.

.. feature:: revert --interactive

  The revert command now accepts the flag --interactive to allow reverting
  only some of the changes to the specified files.

diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -4517,8 +4517,7 @@ def resolve(ui, repo, *pats, **opts):
     ('d', 'date', '', _('tipmost revision matching date'), _('DATE')),
     ('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)')),
+    ('i', 'interactive', None, _('interactively select the changes')),
     ] + walkopts + dryrunopts,
     _('[OPTION]... [-r REV] [NAME]...'))
 def revert(ui, repo, *pats, **opts):


More information about the Mercurial-devel mailing list