[PATCH] cmdutil: remove unused 'confirmopts' constant

Gregory Szorc gregory.szorc at gmail.com
Sun May 6 00:20:36 EDT 2018


On Sat, May 5, 2018 at 7:55 PM, Yuya Nishihara <yuya at tcha.org> wrote:

> # HG changeset patch
> # User Yuya Nishihara <yuya at tcha.org>
> # Date 1524137623 -32400
> #      Thu Apr 19 20:33:43 2018 +0900
> # Node ID c2430f270cf08d47d1b3ed22c3a5f1af9db9f305
> # Parent  bebe0c7559fa5015d636a73be9fba988911ff760
> cmdutil: remove unused 'confirmopts' constant
>

Queued, thanks.


>
> Follows up f10cb49951e1.
>
> diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py
> --- a/mercurial/cmdutil.py
> +++ b/mercurial/cmdutil.py
> @@ -63,11 +63,6 @@ dryrunopts = [
>       _('do not perform actions, just print output')),
>  ]
>
> -confirmopts = [
> -    ('', 'confirm', None,
> -     _('ask before applying actions')),
> -]
> -
>  remoteopts = [
>      ('e', 'ssh', '',
>       _('specify ssh command to use'), _('CMD')),
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at mercurial-scm.org
> https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.mercurial-scm.org/pipermail/mercurial-devel/attachments/20180505/452e6da6/attachment.html>


More information about the Mercurial-devel mailing list