mercurial/localrepo.py
changeset 24639 c79b1e690110
parent 24571 919f8ce040be
child 24641 60fecc5b14a4
equal deleted inserted replaced
24638:13a19717ade6 24639:c79b1e690110
   105 
   105 
   106     def known(self, nodes):
   106     def known(self, nodes):
   107         return self._repo.known(nodes)
   107         return self._repo.known(nodes)
   108 
   108 
   109     def getbundle(self, source, heads=None, common=None, bundlecaps=None,
   109     def getbundle(self, source, heads=None, common=None, bundlecaps=None,
   110                   format='HG10', **kwargs):
   110                   **kwargs):
   111         cg = exchange.getbundle(self._repo, source, heads=heads,
   111         cg = exchange.getbundle(self._repo, source, heads=heads,
   112                                 common=common, bundlecaps=bundlecaps, **kwargs)
   112                                 common=common, bundlecaps=bundlecaps, **kwargs)
   113         if bundlecaps is not None and 'HG2Y' in bundlecaps:
   113         if bundlecaps is not None and 'HG2Y' in bundlecaps:
   114             # When requesting a bundle2, getbundle returns a stream to make the
   114             # When requesting a bundle2, getbundle returns a stream to make the
   115             # wire level function happier. We need to build a proper object
   115             # wire level function happier. We need to build a proper object