Mercurial > hg-stable
changeset 12965:0d4fb319974b stable
gpg, commands: fixed util.abort to util.Abort typos
gpg: Fixed util.abort typo after entering wrong password.
commands: Fixed util.abort typo in debugindex.
author | Richard Hopkins |
---|---|
date | Tue, 09 Nov 2010 20:25:56 +0000 |
parents | ff083040a555 |
children | 5f80f44d23c5 |
files | hgext/gpg.py mercurial/commands.py |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext/gpg.py Sun Nov 07 20:18:57 2010 +0100 +++ b/hgext/gpg.py Tue Nov 09 20:25:56 2010 +0000 @@ -227,7 +227,7 @@ data = node2txt(repo, n, sigver) sig = mygpg.sign(data) if not sig: - raise util.abort(_("error while signing")) + raise util.Abort(_("error while signing")) sig = binascii.b2a_base64(sig) sig = sig.replace("\n", "") sigmessage += "%s %s %s\n" % (hexnode, sigver, sig)
--- a/mercurial/commands.py Sun Nov 07 20:18:57 2010 +0100 +++ b/mercurial/commands.py Tue Nov 09 20:25:56 2010 +0000 @@ -1270,7 +1270,7 @@ format = opts.get('format', 0) if format not in (0, 1): - raise util.abort("unknown format %d" % format) + raise util.Abort("unknown format %d" % format) if not r: r = revlog.revlog(util.opener(os.getcwd(), audit=False), file_)