hgext/gpg.py
changeset 27117 ad2627f4af27
parent 26587 56b2bcea2529
child 27196 7b4a61570d61
equal deleted inserted replaced
27116:0214cc0a0e97 27117:ad2627f4af27
   166         for k in revs[rev]:
   166         for k in revs[rev]:
   167             r = "%5d:%s" % (rev, hgnode.hex(repo.changelog.node(rev)))
   167             r = "%5d:%s" % (rev, hgnode.hex(repo.changelog.node(rev)))
   168             ui.write("%-30s %s\n" % (keystr(ui, k), r))
   168             ui.write("%-30s %s\n" % (keystr(ui, k), r))
   169 
   169 
   170 @command("sigcheck", [], _('hg sigcheck REV'))
   170 @command("sigcheck", [], _('hg sigcheck REV'))
   171 def check(ui, repo, rev):
   171 def sigcheck(ui, repo, rev):
   172     """verify all the signatures there may be for a particular revision"""
   172     """verify all the signatures there may be for a particular revision"""
   173     mygpg = newgpg(ui)
   173     mygpg = newgpg(ui)
   174     rev = repo.lookup(rev)
   174     rev = repo.lookup(rev)
   175     hexrev = hgnode.hex(rev)
   175     hexrev = hgnode.hex(rev)
   176     keys = []
   176     keys = []