Mercurial > public > mercurial-scm > hg
diff mercurial/error.py @ 26438:024644b1900b
error: make lock inheritance contract violations a subclass of RuntimeError
This is more appropriate, per Pierre-Yves David.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Fri, 25 Sep 2015 12:56:05 -0700 |
parents | e75da738add5 |
children | b13fdcc4e700 |
line wrap: on
line diff
--- a/mercurial/error.py Sat Sep 26 12:19:39 2015 +0900 +++ b/mercurial/error.py Fri Sep 25 12:56:05 2015 -0700 @@ -115,7 +115,7 @@ pass # LockError is for errors while acquiring the lock -- this is unrelated -class LockInheritanceContractViolation(AssertionError): +class LockInheritanceContractViolation(RuntimeError): pass class ResponseError(Exception):