hgext/gpg.py
changeset 32375 04baab18d60a
parent 32337 46ba2cdda476
child 34501 b0c42fec8dc2
--- a/hgext/gpg.py	Sat Aug 13 12:29:53 2016 +0900
+++ b/hgext/gpg.py	Sun May 14 16:19:47 2017 +0900
@@ -14,7 +14,6 @@
 from mercurial.i18n import _
 from mercurial import (
     cmdutil,
-    commands,
     error,
     match,
     node as hgnode,
@@ -222,7 +221,7 @@
           ('m', 'message', '',
            _('use text as commit message'), _('TEXT')),
           ('e', 'edit', False, _('invoke editor on commit messages')),
-         ] + commands.commitopts2,
+         ] + cmdutil.commitopts2,
          _('hg sign [OPTION]... [REV]...'))
 def sign(ui, repo, *revs, **opts):
     """add a signature for the current or given revision