diff -r 4cfdec944edf -r 309c439cdbaa mercurial/changegroup.py --- a/mercurial/changegroup.py Fri May 10 21:03:01 2013 +0200 +++ b/mercurial/changegroup.py Sat Feb 09 23:42:03 2013 +0100 @@ -225,8 +225,11 @@ class bundle10(object): deltaheader = _BUNDLE10_DELTA_HEADER - def __init__(self): - pass + def __init__(self, bundlecaps=None): + # Set of capabilities we can use to build the bundle. + if bundlecaps is None: + bundlecaps = set() + self._bundlecaps = bundlecaps def start(self, lookup): self._lookup = lookup def close(self):