mercurial/error.py
changeset 26355 f51713b8c6fa
parent 25945 147bd9e238a1
child 26393 cff70549a959
--- a/mercurial/error.py	Thu Sep 24 15:52:11 2015 -0700
+++ b/mercurial/error.py	Thu Sep 24 10:53:16 2015 -0700
@@ -114,6 +114,10 @@
 class LockUnavailable(LockError):
     pass
 
+# LockError is for errors while acquiring the lock -- this is unrelated
+class LockInheritanceContractViolation(AssertionError):
+    pass
+
 class ResponseError(Exception):
     """Raised to print an error with part of output and exit."""