# HG changeset patch # User Benoit Boissinot # Date 1138904547 -3600 # Node ID 60c3a55c61b81f34f00046a99fc93c4f426ea050 # Parent cf930b2452d3156f4ea100e60ccb7cf57c023b22 extension gpg.py: really raise the exception in case of invalid data diff --git a/hgext/gpg.py b/hgext/gpg.py --- a/hgext/gpg.py +++ b/hgext/gpg.py @@ -250,7 +250,7 @@ def node2txt(repo, node, ver): if ver == "0": return "%s\n" % hgnode.hex(node) else: - util.Abort(_("unknown signature version")) + raise util.Abort(_("unknown signature version")) cmdtable = { "sign":