hgext/gpg.py
changeset 25791 917be0574d7f
parent 25660 328739ea70c3
child 26587 56b2bcea2529
equal deleted inserted replaced
25790:db5b6a1c064d 25791:917be0574d7f
   215     """add a signature for the current or given revision
   215     """add a signature for the current or given revision
   216 
   216 
   217     If no revision is given, the parent of the working directory is used,
   217     If no revision is given, the parent of the working directory is used,
   218     or tip if no revision is checked out.
   218     or tip if no revision is checked out.
   219 
   219 
       
   220     The ``gpg.cmd`` config setting can be used to specify the command
       
   221     to run. A default key can be specified with ``gpg.key``.
       
   222 
   220     See :hg:`help dates` for a list of formats valid for -d/--date.
   223     See :hg:`help dates` for a list of formats valid for -d/--date.
   221     """
   224     """
   222 
   225 
   223     mygpg = newgpg(ui, **opts)
   226     mygpg = newgpg(ui, **opts)
   224     sigver = "0"
   227     sigver = "0"