568 _changegroupinfo(repo, csets, source) |
568 _changegroupinfo(repo, csets, source) |
569 return bundler.generate(commonrevs, csets, fastpathlinkrev, source) |
569 return bundler.generate(commonrevs, csets, fastpathlinkrev, source) |
570 |
570 |
571 def getsubset(repo, outgoing, bundler, source, fastpath=False, version='01'): |
571 def getsubset(repo, outgoing, bundler, source, fastpath=False, version='01'): |
572 gengroup = getsubsetraw(repo, outgoing, bundler, source, fastpath) |
572 gengroup = getsubsetraw(repo, outgoing, bundler, source, fastpath) |
573 return packermap[version][1](util.chunkbuffer(gengroup), 'UN') |
573 return packermap[version][1](util.chunkbuffer(gengroup), None) |
574 |
574 |
575 def changegroupsubset(repo, roots, heads, source, version='01'): |
575 def changegroupsubset(repo, roots, heads, source, version='01'): |
576 """Compute a changegroup consisting of all the nodes that are |
576 """Compute a changegroup consisting of all the nodes that are |
577 descendants of any of the roots and ancestors of any of the heads. |
577 descendants of any of the roots and ancestors of any of the heads. |
578 Return a chunkbuffer object whose read() method will return |
578 Return a chunkbuffer object whose read() method will return |