]> arthur.barton.de Git - bup.git/commit
Add DemuxConn and `bup mux` for client-server
authorBrandon Low <lostlogic@lostlogicx.com>
Thu, 27 Jan 2011 02:30:20 +0000 (18:30 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Tue, 1 Feb 2011 05:35:19 +0000 (21:35 -0800)
commitfb3bd84cfd2455cd7a947297c9b9e5d326ab1033
tree13f27e0d7f238673d54337cd5fa89a01271a6680
parent93b034ca7e50bc0341a7909d0992cf3d5ff12da3
Add DemuxConn and `bup mux` for client-server

`bup mux` works with any bup command to multiplex its stdout and stderr
streams over a single stdout stream.

DemuxConn works on the client side to demultiplex stderr and data
streams from a single stream, emulating a simple connection.

For now, these are only used in the case of simple socket bup://
client-server connections, because rsh and local connections don't need
them.

Signed-off-by: Brandon Low <lostlogic@lostlogicx.com>
Documentation/bup-mux.md [new file with mode: 0644]
cmd/mux-cmd.py [new file with mode: 0755]
lib/bup/client.py
lib/bup/helpers.py
main.py