comparison mercurial/error.py @ 7636:e3f8c6d6b72e

error: move ParseError
author Matt Mackall <mpm@selenic.com>
date Sun, 11 Jan 2009 23:04:24 -0600
parents 08cabecfa8a8
children 1d54e2f6c0b7
comparison
equal deleted inserted replaced
7635:d22c43724745 7636:e3f8c6d6b72e
22 name = short(name) 22 name = short(name)
23 RevlogError.__init__(self, '%s@%s: %s' % (index, name, message)) 23 RevlogError.__init__(self, '%s@%s: %s' % (index, name, message))
24 24
25 def __str__(self): 25 def __str__(self):
26 return RevlogError.__str__(self) 26 return RevlogError.__str__(self)
27
28 class ParseError(Exception):
29 """Exception raised on errors in parsing the command line."""