]> arthur.barton.de Git - bup.git/commit
bup random: fix progress output and don't print to a tty.
authorAvery Pennarun <apenwarr@gmail.com>
Tue, 2 Mar 2010 21:20:41 +0000 (16:20 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Tue, 2 Mar 2010 21:36:32 +0000 (16:36 -0500)
commited23e551fe16cc3858830ea61b0c43bcf267d747
tree4266d27afcbe9a4c32da3f8f9af4cc3a4b5832df
parent1345eb6aaff6a62c603b8606ebb88c2961f4ed44
bup random: fix progress output and don't print to a tty.

We were printing output using a series of dots, which interacted badly with
bup newliner (and for good reason).  Change it to actually display the
number of megabytes done so far.

Also, don't print random binary data to a tty unless -f is given.  It's
just more polite that way.
cmd/random-cmd.py
lib/bup/_hashsplit.c
main.py