[PATCH] cmdutil: remove unused 'confirmopts' constant

Yuya Nishihara yuya at tcha.org
Sat May 5 22:55:15 EDT 2018


# 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

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')),


More information about the Mercurial-devel mailing list