tests/hghave.py
changeset 37346 45a4799174a1
parent 37342 4e6a6d0dccee
child 37415 c2c8962a9465
--- 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()