mercurial/error.py
changeset 26355 f51713b8c6fa
parent 25945 147bd9e238a1
child 26393 cff70549a959
equal deleted inserted replaced
26354:c1fb2cab6260 26355:f51713b8c6fa
   112         self.locker = locker
   112         self.locker = locker
   113 
   113 
   114 class LockUnavailable(LockError):
   114 class LockUnavailable(LockError):
   115     pass
   115     pass
   116 
   116 
       
   117 # LockError is for errors while acquiring the lock -- this is unrelated
       
   118 class LockInheritanceContractViolation(AssertionError):
       
   119     pass
       
   120 
   117 class ResponseError(Exception):
   121 class ResponseError(Exception):
   118     """Raised to print an error with part of output and exit."""
   122     """Raised to print an error with part of output and exit."""
   119 
   123 
   120 class UnknownCommand(Exception):
   124 class UnknownCommand(Exception):
   121     """Exception raised if command is not in the command table."""
   125     """Exception raised if command is not in the command table."""