mercurial/changegroup.py
changeset 26270 a5f5a815a006
parent 26268 a91d7dfd1952
child 26271 a0eff7ebc2ae
equal deleted inserted replaced
26269:521b4d061d4a 26270:a5f5a815a006
   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