diff .hgsigs @ 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 93bfa9fc96e3
children b57e5bfaad7c
line wrap: on
line diff