manifestcache: protect write with `wlock` instead of `lock`
The `wlock` is taken by both `update` and `commit` type operation. This would help persisting the cache more aggressively. An explicit test is introduced. However, we can already see the effect of this change on earlier test output.
Showing
- mercurial/debugcommands.py 2 additions, 2 deletionsmercurial/debugcommands.py
- mercurial/manifest.py 2 additions, 2 deletionsmercurial/manifest.py
- tests/test-clone.t 1 addition, 0 deletionstests/test-clone.t
- tests/test-hardlinks.t 1 addition, 1 deletiontests/test-hardlinks.t
- tests/test-manifest.t 19 additions, 1 deletiontests/test-manifest.t
Loading
Please register or sign in to comment