Looks like either another process is holding a lock on caches or the FS doesn't support locking mechanisms that sqlite3 needs. If you want to dig further into this, check around these files: .hg/cache/evoext_stablerange_v2.sqlite and .hg/cache/evoext_obshashrange_v2.sqlite