changeset 35402:b1c9853e0775

py3: handle keyword arguments correctly in bundlerepo.py Differential Revision: https://phab.mercurial-scm.org/D1672
author Pulkit Goyal <7895pulkit@gmail.com>
date Sun, 10 Dec 2017 06:36:35 +0530
parents cd3392cb5818
children 154e822bf514
files mercurial/bundlerepo.py
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/bundlerepo.py	Sun Dec 10 06:36:20 2017 +0530
+++ b/mercurial/bundlerepo.py	Sun Dec 10 06:36:35 2017 +0530
@@ -541,10 +541,10 @@
                       and other.capable('bundle2'))
         if canbundle2:
             kwargs = {}
-            kwargs['common'] = common
-            kwargs['heads'] = rheads
-            kwargs['bundlecaps'] = exchange.caps20to10(repo)
-            kwargs['cg'] = True
+            kwargs[r'common'] = common
+            kwargs[r'heads'] = rheads
+            kwargs[r'bundlecaps'] = exchange.caps20to10(repo)
+            kwargs[r'cg'] = True
             b2 = other.getbundle('incoming', **kwargs)
             fname = bundle = changegroup.writechunks(ui, b2._forwardchunks(),
                                                      bundlename)