Mercurial > hg
comparison tests/test-empty.t @ 26540:7469067de2ba
changegroup: extract the file management part in its own function
The current writebundle function do two things:
- taking a changegroup-packer instance and storing it into a valid bundle with
proper header.
- creating a temporary or requested file to store that bundle
We would like to make it easier to forward bundle stream directly from a remote
peer to a file, so we split the two logic to be able to skip the one about
building a valid bundle (the remote is already sending one).
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Mon, 05 Oct 2015 00:14:47 -0700 |
parents | ab2362e1672e |
children | f1186c292d03 |
comparison
equal
deleted
inserted
replaced
26539:1956026e4db2 | 26540:7469067de2ba |
---|