Mercurial > public > mercurial-scm > hg
comparison mercurial/obsolete.py @ 21001:c93bb6a08fa1
bundle2: support chunk iterator as part data
When the `part.data` attribute is an iterator, we assume it is an iterator of
chunks and use it.
We use a chunkbuffer to yield chunks of 4096 bytes.
The tests are updated to use this feature.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Fri, 11 Apr 2014 08:04:16 -0700 |
parents | dad29624b056 |
children | 7731a2281cf0 |
comparison
equal
deleted
inserted
replaced
21000:4cae06ae1562 | 21001:c93bb6a08fa1 |
---|