comparison hgext/largefiles/lfutil.py @ 21068:c15b66a6bbb4

bundle2: return a stream from exchange.getbundle For friendliness with the wire protocol implementation, the `exchange.getbundle` now returns a binary stream when asked for a bundle2. We detect a bundle2 request and upgrade the binary stream to an unbundler object. In the future the unbundler may gain feature to look like a binary stream, but we are not quite there yet.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Tue, 15 Apr 2014 11:27:55 -0400
parents 32b3331f18eb
children 66c6da0bc7e2
comparison
equal deleted inserted replaced
21067:7974aa88868e 21068:c15b66a6bbb4