mercurial/error.py
branchstable
changeset 18855 50c922c1b514
parent 15017 f4522df38c65
child 18931 3c224e0949de
equal deleted inserted replaced
18854:afab180307be 18855:50c922c1b514
    24             name = short(name)
    24             name = short(name)
    25         RevlogError.__init__(self, '%s@%s: %s' % (index, name, message))
    25         RevlogError.__init__(self, '%s@%s: %s' % (index, name, message))
    26 
    26 
    27     def __str__(self):
    27     def __str__(self):
    28         return RevlogError.__str__(self)
    28         return RevlogError.__str__(self)
       
    29 
       
    30 class ManifestLookupError(LookupError):
       
    31     pass
    29 
    32 
    30 class CommandError(Exception):
    33 class CommandError(Exception):
    31     """Exception raised on errors in parsing the command line."""
    34     """Exception raised on errors in parsing the command line."""
    32 
    35 
    33 class Abort(Exception):
    36 class Abort(Exception):