# HG changeset patch # User Pierre-Yves David # Date 1397713828 14400 # Node ID 4aeb8da680900b0d266ba7fcb7dc0458ed5dad35 # Parent 2b8c82f7f11df523bae55c7214733a281d413398 bundle2: add bundle2caps dict on localrepo object This dictionary will hold bundle2-related capabilities. diff -r 2b8c82f7f11d -r 4aeb8da68090 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()