]> arthur.barton.de Git - bup.git/commit - cmd/midx-cmd.py
cmd/{bloom,midx}: clean up progress messages.
authorAvery Pennarun <apenwarr@gmail.com>
Thu, 17 Feb 2011 00:01:30 +0000 (16:01 -0800)
committerAvery Pennarun <apenwarr@gmail.com>
Thu, 17 Feb 2011 00:58:49 +0000 (16:58 -0800)
commit23bb587af3ed059edc90af71d8a2e2a79b67b956
tree995109629c3cc1373014f9a0f9145d26acf8a2e8
parent667cc8caa69f3444ad113f91904848cc47a60f1e
cmd/{bloom,midx}: clean up progress messages.

bloom was printing messages more often than necessary on fast computers,
which could overwhelm the stderr output a bit.  Also change to a percentage
+ number of objects, like midx and save do, rather than just printing the
current file number.

And don't print so many lines of output by default: now if bloom isn't
end up doing anything, it doesn't print any output.  And if it does do
something, it prints only one output line per file.

bloom and midx now both print the name of the directory where they're
creating their output files; if you have multiple directories in
.bup/index-cache, it was a little confusing to see them doing
multiple runs for no apparent reason.

Signed-off-by: Avery Pennarun <apenwarr@gmail.com>
cmd/bloom-cmd.py
cmd/midx-cmd.py
lib/bup/git.py
lib/bup/helpers.py