##// 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 / rhg / src / commands
files.rs Loading ...
root.rs Loading ...