diff mercurial/error.py @ 7947:a454eeb1b827

move util.Abort to error.py
author Matt Mackall <mpm@selenic.com>
date Fri, 03 Apr 2009 13:20:52 -0500
parents e62a456b8dc5
children fca54469480e
line wrap: on
line diff
--- a/mercurial/error.py	Fri Apr 03 12:37:44 2009 -0500
+++ b/mercurial/error.py	Fri Apr 03 13:20:52 2009 -0500
@@ -62,3 +62,6 @@
 
 class SignatureError(Exception):
     pass
+
+class Abort(Exception):
+    """Raised if a command needs to print an error and exit."""