Mercurial > hg
comparison hgext/gpg.py @ 27117:ad2627f4af27
gpg: rename sigcheck function
I see no reason for the function not to be sigcheck ...
author | timeless <timeless@mozdev.org> |
---|---|
date | Wed, 25 Nov 2015 06:10:54 +0000 |
parents | 56b2bcea2529 |
children | 7b4a61570d61 |
comparison
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 = [] |