hgext/gpg.py
changeset 29124 555ab813c237
parent 27814 a72735028336
child 29205 a0939666b836
equal deleted inserted replaced
29123:0e6b5a5aca22 29124:555ab813c237
     3 # This software may be used and distributed according to the terms of the
     3 # This software may be used and distributed according to the terms of the
     4 # GNU General Public License version 2 or any later version.
     4 # GNU General Public License version 2 or any later version.
     5 
     5 
     6 '''commands to sign and verify changesets'''
     6 '''commands to sign and verify changesets'''
     7 
     7 
     8 import os, tempfile, binascii
     8 from __future__ import absolute_import
     9 from mercurial import util, commands, match, cmdutil, error
     9 
    10 from mercurial import node as hgnode
    10 import binascii
       
    11 import os
       
    12 import tempfile
       
    13 from mercurial import (
       
    14     cmdutil,
       
    15     commands,
       
    16     error,
       
    17     match,
       
    18     node as hgnode,
       
    19     util,
       
    20 )
    11 from mercurial.i18n import _
    21 from mercurial.i18n import _
    12 
    22 
    13 cmdtable = {}
    23 cmdtable = {}
    14 command = cmdutil.command(cmdtable)
    24 command = cmdutil.command(cmdtable)
    15 # Note for extension authors: ONLY specify testedwith = 'internal' for
    25 # Note for extension authors: ONLY specify testedwith = 'internal' for