mercurial/changegroup.py
changeset 19201 309c439cdbaa
parent 19200 4cfdec944edf
child 19202 0455fc94ae00
--- 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):