Upstream has added a warning around writing files with locks. Since this file is
written as part of an update, let's just take the wlock.
Details
Details
- Reviewers
quark - Group Reviewers
Restricted Project - Commits
- rFBHGX5dddb47deecb: morestatus: add wlock around updateargs file
Ran the tests
Diff Detail
Diff Detail
- Repository
- rFBHGX Facebook Mercurial Extensions
- Branch
- treeonly (bookmark) on default (branch)
- Lint
Lint OK - Unit
Unit Tests OK
Event Timeline
hgext3rd/morestatus.py | ||
---|---|---|
129–132 | This could be simplified to repo.vfs.tryunlink(UPDATEARGS). |
This could be simplified to repo.vfs.tryunlink(UPDATEARGS).