HomePhabricator

rhg: Initial repository locking

Authored by SimonSapin.

Description

rhg: Initial repository locking

Initial Rust implementation of locking based on the .hg/wlock symlink (or file),
with lock breaking when the recorded pid and hostname show that a lock was
left by a local process that is not running anymore (as it might have been
killed).

Differential Revision: https://phab.mercurial-scm.org/D11835

Details

Committed
SimonSapinMar 22 2021, 4:07 AM
Differential Revision
D11835: rhg: Initial repository locking
Parents
rHGc1b633db67fc: rust: Serializing a DirstateMap does not mutate it anymore
Branches
Unknown
Tags
Unknown