diff mercurial/commands.py @ 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 15ca4bfecfe3
children 609edbc7853f de4a18cbfc98
line wrap: on
line diff
--- 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_)