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
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
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).