##// END OF EJS Templates
move util.Abort to error.py
Matt Mackall -
r7947:a454eeb1 default
parent child Browse files
Show More
@@ -62,3 +62,6 class SignalInterrupt(KeyboardInterrupt)
62
62
63 class SignatureError(Exception):
63 class SignatureError(Exception):
64 pass
64 pass
65
66 class Abort(Exception):
67 """Raised if a command needs to print an error and exit."""
@@ -333,8 +333,7 def increasingchunks(source, min=1024, m
333 if buf:
333 if buf:
334 yield ''.join(buf)
334 yield ''.join(buf)
335
335
336 class Abort(Exception):
336 Abort = error.Abort
337 """Raised if a command needs to print an error and exit."""
338
337
339 def always(fn): return True
338 def always(fn): return True
340 def never(fn): return False
339 def never(fn): return False
General Comments 0
You need to be logged in to leave comments. Login now