In fastdatapacktests.testPacksCache, the C datapack code path should be
used.
Details
Details
- Reviewers
singhsrb - Group Reviewers
Restricted Project - Commits
- rFBHGX0955a7f1f60d: test-remotefilelog-datapack: exercise cdatapack code path
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
Comment Actions
All good! Just a minor comment which you can ignore :).
| tests/test-remotefilelog-datapack.py | ||
|---|---|---|
| 39 | nit: paramsavailable seems weird especially with self.iscdatapack = not paramsavailable. Maybe rename this to something more meaningful. I would even prefer it the other way round i.e. def __init__(self, datapackreader, iscdatapack):
self.datapackreader = datapackreader
self.iscdatapack = iscdatapack
self.paramsavailable = not iscdatapack | |
| tests/test-remotefilelog-datapack.py | ||
|---|---|---|
| 39 | +1 | |
nit: paramsavailable seems weird especially with self.iscdatapack = not paramsavailable. Maybe rename this to something more meaningful. I would even prefer it the other way round i.e.
def __init__(self, datapackreader, iscdatapack): self.datapackreader = datapackreader self.iscdatapack = iscdatapack self.paramsavailable = not iscdatapack