comparison mercurial/discovery.py @ 23177:706547a14b8b

changegroup: introduce "raw" versions of some commands The commands getchangegroup, getlocalchangegroup and getsubset now each have a version ending in -raw. The raw versions return the chunk generator from the changegroup packer directly, without wrapping it in a chunkbuffer and unpacker. This avoids extra chunkbuffers in the bundle2 code path. Also, the raw versions can be extended to support alternative packers in the future, to be used from bundle2.
author Sune Foldager <cryo@cyanite.org>
date Fri, 17 Oct 2014 14:41:02 +0200
parents 70383c6961b4
children 6ddc86eedc3b
comparison
equal deleted inserted replaced
23176:329c6b4414ae 23177:706547a14b8b