Mercurial > hg
changeset 1682:ca1cda9220d5
fix an exception in gpg.py with multiples sigs for the same cset
- silly error, do not overwrite the variable we use for iterating
- correct 'hg help sign'
author | Benoit Boissinot <benoit.boissinot@ens-lyon.org> |
---|---|
date | Wed, 01 Feb 2006 20:20:27 +0100 |
parents | 98eef041f9c7 |
children | 063e04831a09 |
files | hgext/gpg.py |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/gpg.py Wed Feb 01 19:37:26 2006 +0100 +++ b/hgext/gpg.py Wed Feb 01 20:20:27 2006 +0100 @@ -156,9 +156,9 @@ revs[r].extend(keys) nodes = list(revs) nodes.reverse() - for r in nodes: - for k in revs[r]: - r = "%5d:%s" % (r, hgnode.hex(repo.changelog.node(r))) + for rev in nodes: + for k in revs[rev]: + r = "%5d:%s" % (rev, hgnode.hex(repo.changelog.node(rev))) ui.write("%-30s %s\n" % (keystr(ui, k), r)) def check(ui, repo, rev): @@ -262,7 +262,7 @@ ('d', 'date', "", _("date code")), ('u', 'user', "", _("user")), ('k', 'key', "", _("the key id to sign with"))], - _("hg sign [OPTION]... REVISIONS")), + _("hg sign [OPTION]... [REVISION]...")), "sigcheck": (check, [], _('hg sigcheck REVISION')), "sigs": (sigs, [], _('hg sigs')), }