Mercurial > hg
comparison tests/test-revlog-raw.py @ 31764:15707e58fc3d
test-revlog-raw: remove duplicated option
author | Jun Wu <quark@fb.com> |
---|---|
date | Sun, 02 Apr 2017 18:13:03 -0700 |
parents | 8a0c47982ade |
children | 6788e648efcf |
comparison
equal
deleted
inserted
replaced
31763:8a0c47982ade | 31764:15707e58fc3d |
---|---|
14 | 14 |
15 # TESTTMP is optional. This makes it convenient to run without run-tests.py | 15 # TESTTMP is optional. This makes it convenient to run without run-tests.py |
16 tvfs = vfs.vfs(encoding.environ.get('TESTTMP', b'/tmp')) | 16 tvfs = vfs.vfs(encoding.environ.get('TESTTMP', b'/tmp')) |
17 | 17 |
18 # Enable generaldelta otherwise revlog won't use delta as expected by the test | 18 # Enable generaldelta otherwise revlog won't use delta as expected by the test |
19 tvfs.options = {'generaldelta': True, 'revlogv1': True, 'revlogv1': True} | 19 tvfs.options = {'generaldelta': True, 'revlogv1': True} |
20 | 20 |
21 # The test wants to control whether to use delta explicitly, based on | 21 # The test wants to control whether to use delta explicitly, based on |
22 # "storedeltachains". | 22 # "storedeltachains". |
23 revlog.revlog._isgooddelta = lambda self, d, textlen: self.storedeltachains | 23 revlog.revlog._isgooddelta = lambda self, d, textlen: self.storedeltachains |
24 | 24 |