From: Avery Pennarun Date: Thu, 2 Dec 2010 00:02:03 +0000 (-0800) Subject: cmd/midx: differentiate the log message from the index.py merging. X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=3046558a353cd3557ca9af9b194e1af1cf2cd689;p=packages%2Fb%2Fbup.git cmd/midx: differentiate the log message from the index.py merging. It's a curse (inherited from git) that .idx files are called "indexes" and the bupindex is called an "index." Let's change the message in cmd/midx so at least we'll know which kind of index people are complaining about. Signed-off-by: Avery Pennarun --- diff --git a/cmd/midx-cmd.py b/cmd/midx-cmd.py index f5e91e7..1ef09e0 100755 --- a/cmd/midx-cmd.py +++ b/cmd/midx-cmd.py @@ -56,7 +56,7 @@ def _do_midx(outdir, outfilename, infilenames, prefixstr): inp.append(ix) total += len(ix) - log('midx: %smerging %d indexes (%d objects).\n' + log('midx: %screating from %d files (%d objects).\n' % (prefixstr, len(infilenames), total)) if (not opt.force and (total < 1024 and len(infilenames) < 3)) \ or len(infilenames) < 2 \