Show More
@@ -665,7 +665,7 b' def unbundle(repo, proto, heads):' | |||||
665 | r = exchange.unbundle( |
|
665 | r = exchange.unbundle( | |
666 | repo, gen, their_heads, b'serve', proto.client() |
|
666 | repo, gen, their_heads, b'serve', proto.client() | |
667 | ) |
|
667 | ) | |
668 |
if util.safehasattr(r, |
|
668 | if util.safehasattr(r, 'addpart'): | |
669 | # The return looks streamable, we are in the bundle2 case |
|
669 | # The return looks streamable, we are in the bundle2 case | |
670 | # and should return a stream. |
|
670 | # and should return a stream. | |
671 | return wireprototypes.streamreslegacy(gen=r.getchunks()) |
|
671 | return wireprototypes.streamreslegacy(gen=r.getchunks()) |
General Comments 0
You need to be logged in to leave comments.
Login now