hiddenoverrides: support nonblocking flock
ClosedPublic

Authored by durham on Nov 30 2017, 6:32 PM.

Details

Reviewers
quark
Group Reviewers
Restricted Project
Commits
rFBHGX4bc90c1d6854: hiddenoverrides: support nonblocking flock
Summary

We want to use this flock function in another place, so let's support non
blocking waits. We also want it to throw the appropriate LockHeld in that
situation so the behavior is consistent with a normal Mercurial lock.

Diff Detail

Repository
rFBHGX Facebook Mercurial Extensions
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
durham created this revision.Nov 30 2017, 6:32 PM
Herald added a reviewer: Restricted Project. · View Herald TranscriptNov 30 2017, 6:32 PM
quark accepted this revision.Nov 30 2017, 6:38 PM
This revision is now accepted and ready to land.Nov 30 2017, 6:38 PM
This revision was automatically updated to reflect the committed changes.