##// END OF EJS Templates
statichttprepo: use LockUnavailable() instead of Abort() for lock (API)...
statichttprepo: use LockUnavailable() instead of Abort() for lock (API) If we try to get a lock on statichttprepo, we get `error.Abort()` instead of subclass of `error.LockError()`. The callers which catches `error.LockError` fails to catch this case as the correct error is not raised. Raising `error.LockUnavaible()` is same as what is done for wlock also.
Pulkit Goyal -
r46004:5523e3e1 default
Show More
Name Size Modified Last Commit Author
/ rust / hg-core / src
dirstate
operations
revlog
utils
ancestors.rs Loading ...
dagops.rs Loading ...
dirstate.rs Loading ...
discovery.rs Loading ...
filepatterns.rs Loading ...
lib.rs Loading ...
matchers.rs Loading ...
revlog.rs Loading ...
testing.rs Loading ...
utils.rs Loading ...