##// 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.

File last commit:

r45571:3707f6e7 default
r46004:5523e3e1 default
Show More
Cargo.toml
10 lines | 180 B | application/toml | TOMLLexer
[package]
name = "rhg"
version = "0.1.0"
authors = ["Antoine Cezar <antoine.cezar@octobus.net>"]
edition = "2018"
[dependencies]
hg-core = { path = "../hg-core"}
clap = "2.33.1"