D670: changegroup: remove external uses of getbundler

durham (Durham Goode) phabricator at mercurial-scm.org
Mon Sep 11 18:27:58 EDT 2017


This revision was automatically updated to reflect the committed changes.
Closed by commit rHGdbf598196f05: changegroup: remove external uses of getbundler (authored by durham).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D670?vs=1697&id=1739

REVISION DETAIL
  https://phab.mercurial-scm.org/D670

AFFECTED FILES
  mercurial/exchange.py

CHANGE DETAILS

diff --git a/mercurial/exchange.py b/mercurial/exchange.py
--- a/mercurial/exchange.py
+++ b/mercurial/exchange.py
@@ -1595,8 +1595,8 @@
             raise ValueError(_('unsupported getbundle arguments: %s')
                              % ', '.join(sorted(kwargs.keys())))
         outgoing = _computeoutgoing(repo, heads, common)
-        bundler = changegroup.getbundler('01', repo, bundlecaps)
-        return changegroup.getsubsetraw(repo, outgoing, bundler, source)
+        return changegroup.makestream(repo, outgoing, '01', source,
+                                      bundlecaps=bundlecaps)
 
     # bundle20 case
     b2caps = {}



To: durham, #hg-reviewers, indygreg
Cc: mercurial-devel


More information about the Mercurial-devel mailing list