diff --git a/tests/test-remotefilelog-datapack.py b/tests/test-remotefilelog-datapack.py --- a/tests/test-remotefilelog-datapack.py +++ b/tests/test-remotefilelog-datapack.py @@ -38,6 +38,7 @@ class datapacktestsbase(object): def __init__(self, datapackreader, paramsavailable): self.datapackreader = datapackreader + self.iscdatapack = not paramsavailable self.paramsavailable = paramsavailable def setUp(self): @@ -302,7 +303,7 @@ # Ensures that we are not keeping everything in the cache. DEFAULTCACHESIZE = numpacks / 2 - store = testdatapackstore(mercurial.ui.ui(), packdir) + store = testdatapackstore(mercurial.ui.ui(), packdir, self.iscdatapack) random.shuffle(deltachains) for randomchain in deltachains: