bundle2: add bundle2caps dict on localrepo object
authorPierre-Yves David <pierre-yves.david@fb.com>
Thu, 17 Apr 2014 01:50:28 -0400
changeset 21140 4aeb8da68090
parent 21139 2b8c82f7f11d
child 21141 d8dd19e09ed4
bundle2: add bundle2caps dict on localrepo object This dictionary will hold bundle2-related capabilities.
mercurial/localrepo.py
--- a/mercurial/localrepo.py	Thu Apr 17 01:44:53 2014 -0400
+++ b/mercurial/localrepo.py	Thu Apr 17 01:50:28 2014 -0400
@@ -179,6 +179,8 @@
     requirements = ['revlogv1']
     filtername = None
 
+    bundle2caps = {'HG20': ()}
+
     # a list of (ui, featureset) functions.
     # only functions defined in module of enabled extensions are invoked
     featuresetupfuncs = set()