--- a/tests/hghave.py Wed Apr 04 11:31:35 2018 -0700
+++ b/tests/hghave.py Wed Apr 04 11:44:38 2018 -0700
@@ -731,12 +731,13 @@
"""
# Default list provided by core.
features = {
+ 'bundlerepo',
'revlogstore',
}
# Features that imply other features.
implies = {
- 'simplestore': ['-revlogstore'],
+ 'simplestore': ['-revlogstore', '-bundlerepo'],
}
for override in os.environ.get('HGREPOFEATURES', '').split(' '):
@@ -765,3 +766,7 @@
@check('reposimplestore', 'repository using simple storage extension')
def has_reposimplestore():
return 'simplestore' in getrepofeatures()
+
+@check('repobundlerepo', 'whether we can open bundle files as repos')
+def has_repobundlerepo():
+ return 'bundlerepo' in getrepofeatures()