[PATCH 3 of 3 STABLE-V2] revert: make the interactive mode experimental

Augie Fackler raf at durin42.com
Tue Apr 28 21:33:11 UTC 2015


On Mon, Apr 27, 2015 at 05:14:00PM -0700, Laurent Charignon wrote:
> # HG changeset patch
> # User Laurent Charignon <lcharignon at fb.com>
> # Date 1430174277 25200
> #      Mon Apr 27 15:37:57 2015 -0700
> # Branch stable
> # Node ID 7537a2a67851e0ac8e3e3813b48667729a315697
> # Parent  fd87e554c5bb30b7d926ecb6042fcf5810c08b03
> revert: make the interactive mode experimental

This series looks worthwhile to me.

>
> 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 @@
>      ('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):
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel



More information about the Mercurial-devel mailing list