This adds initialization of metacache in remaining place where it can be uninitalized when using threads
The previous state did fail on some hg update operations on Windows. It didn't
affect posix as that doesn't actually use threads so we always have metacache
initalized from the constructor
Details
Details
- Reviewers
quark - Group Reviewers
Restricted Project - Commits
- rFBHGXc5cf0dda2c9f: remotefilelog: make sure metacache is always initalized
Run hg update that failed wihtout this change on windows and see it
suceed.
run tests on CentOS
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
remotefilelog/contentstore.py | ||
---|---|---|
144–145 | Maybe this line could be removed then for consistency. |
Maybe this line could be removed then for consistency.