mercurial/exchange.py
changeset 20933 d3775db748a0
parent 20928 91b47139d0cb
child 20954 dba91f8060eb
--- a/mercurial/exchange.py	Tue Apr 01 15:21:56 2014 -0700
+++ b/mercurial/exchange.py	Tue Apr 01 15:27:53 2014 -0700
@@ -508,7 +508,7 @@
                                    "changegroupsubset."))
     else:
         cg = pullop.remote.changegroupsubset(pullop.fetch, pullop.heads, 'pull')
-    pullop.cgresult = pullop.repo.addchangegroup(cg, 'pull',
+    pullop.cgresult = changegroup.addchangegroup(pullop.repo, cg, 'pull',
                                                  pullop.remote.url())
 
 def _pullphase(pullop):