# HG changeset patch # User Laurent Charignon # Date 2015-04-27 22:37:57 # Node ID 12908cdbab73ca435101ce6d85d59a453f774509 # Parent 3510ec97ffdc9f362ced8baf48d6e822cab6cf90 revert: make the interactive mode experimental While fixing issue4304: "record: allow editing new files" we introduced changes in record/crecord. These changes need to be matched with changes in any command using record. Revert is one of these commands and the changes have not been made for this release. Therefore, revert -i should be an experimental feature for this release. diff --git a/mercurial/commands.py b/mercurial/commands.py --- a/mercurial/commands.py +++ b/mercurial/commands.py @@ -5464,7 +5464,8 @@ 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')), + ('i', 'interactive', None, + _('interactively select the changes (EXPERIMENTAL)')), ] + walkopts + dryrunopts, _('[OPTION]... [-r REV] [NAME]...')) def revert(ui, repo, *pats, **opts):