]> arthur.barton.de Git - bup.git/commitdiff
save: Display info while closing PackWriter and MetaStoreReader
authorAlexander Barton <alex@barton.de>
Wed, 31 Dec 2014 01:08:07 +0000 (02:08 +0100)
committerAlexander Barton <alex@barton.de>
Wed, 31 Dec 2014 17:48:40 +0000 (18:48 +0100)
Closing these both data streams can take a few seconds, so inform the
user what "bup save" is doing after displaying that it is 100% complete.

Signed-off-by: Alexander Barton <alex@barton.de>
cmd/save-cmd.py

index 9dcd83b5024e10a1a0c336ff384f7f7a6be0654a..fdc621e89d60654667ef1fc5c4b6ee81f11cad71 100755 (executable)
@@ -423,6 +423,7 @@ if opt.progress:
     pct = total and count*100.0/total or 100
     progress_end('Saving: %.2f%% (%d/%dk, %d/%d files), done.'
              % (pct, count/1024, total/1024, fcount, ftotal))
+    progress_update('Finishing up ...')
 
 while len(parts) > 1: # _pop() all the parts above the root
     _pop(force_tree = None)