mercurial/bundlerepo.py
changeset 35783 c97639ad6874
parent 35402 b1c9853e0775
child 35833 87b085a4f9d1
--- a/mercurial/bundlerepo.py	Sat Jan 20 15:43:02 2018 -0800
+++ b/mercurial/bundlerepo.py	Sat Jan 20 13:54:36 2018 -0800
@@ -543,7 +543,7 @@
             kwargs = {}
             kwargs[r'common'] = common
             kwargs[r'heads'] = rheads
-            kwargs[r'bundlecaps'] = exchange.caps20to10(repo)
+            kwargs[r'bundlecaps'] = exchange.caps20to10(repo, role='client')
             kwargs[r'cg'] = True
             b2 = other.getbundle('incoming', **kwargs)
             fname = bundle = changegroup.writechunks(ui, b2._forwardchunks(),