Fixes T7484. If the lock failed, we'd still try to unlock it, which is incorrect.
Details
Details
- Reviewers
btrahan - Maniphest Tasks
- T7484: Lock is not locked by this process
- Commits
- Restricted Diffusion Commit
rPe9886c4353df: Fix an issue where we would try to release an unheld lock
Ran two bin/repository update X in different windows, got proper LockException instead of indirect symptomatic "not locked by this process" exception.
Diff Detail
Diff Detail
- Repository
- rP Phabricator
- Lint
Lint Not Applicable - Unit
Tests Not Applicable