changeset 20956:dbf0fa39a5b8

exchange: pass bundlecaps through to changegroup The bundlecaps passed to exchange.getbundle were being dropped completely. We should pass them on through to the changegroup. This affected the remotefilelog extension, since it relies on those bundlecaps.
author Durham Goode <durham@fb.com>
date Fri, 04 Apr 2014 16:41:51 -0700
parents 12f161f08d74
children df33c9014430
files mercurial/exchange.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/exchange.py	Tue Apr 01 23:41:32 2014 -0700
+++ b/mercurial/exchange.py	Fri Apr 04 16:41:51 2014 -0700
@@ -596,7 +596,7 @@
     """
     # build bundle here.
     cg = changegroup.getbundle(repo, source, heads=heads,
-                               common=common, bundlecaps=None)
+                               common=common, bundlecaps=bundlecaps)
     if bundlecaps is None or 'HG20' not in bundlecaps:
         return cg
     # very crude first implementation,