##// END OF EJS Templates
changegroup: rename getsubsetraw to makestream...
Durham Goode -
r34105:92f1e2be default
parent child Browse files
Show More
@@ -911,11 +911,6 b' def _changegroupinfo(repo, nodes, source'
911 for node in nodes:
911 for node in nodes:
912 repo.ui.debug("%s\n" % hex(node))
912 repo.ui.debug("%s\n" % hex(node))
913
913
914 def makestream(repo, outgoing, version, source, fastpath=False,
915 bundlecaps=None):
916 bundler = getbundler(version, repo, bundlecaps=bundlecaps)
917 return getsubsetraw(repo, outgoing, bundler, source, fastpath=fastpath)
918
919 def makechangegroup(repo, outgoing, version, source, fastpath=False,
914 def makechangegroup(repo, outgoing, version, source, fastpath=False,
920 bundlecaps=None):
915 bundlecaps=None):
921 cgstream = makestream(repo, outgoing, version, source,
916 cgstream = makestream(repo, outgoing, version, source,
@@ -923,7 +918,10 b' def makechangegroup(repo, outgoing, vers'
923 return getunbundler(version, util.chunkbuffer(cgstream), None,
918 return getunbundler(version, util.chunkbuffer(cgstream), None,
924 {'clcount': len(outgoing.missing) })
919 {'clcount': len(outgoing.missing) })
925
920
926 def getsubsetraw(repo, outgoing, bundler, source, fastpath=False):
921 def makestream(repo, outgoing, version, source, fastpath=False,
922 bundlecaps=None):
923 bundler = getbundler(version, repo, bundlecaps=bundlecaps)
924
927 repo = repo.unfiltered()
925 repo = repo.unfiltered()
928 commonrevs = outgoing.common
926 commonrevs = outgoing.common
929 csets = outgoing.missing
927 csets = outgoing.missing
General Comments 0
You need to be logged in to leave comments. Login now