git » abk » commit 58d81d7

Nicer output.

author
2005-03-02 21:48:18 UTC
committer
2005-03-02 21:48:18 UTC
parent cb34dc2e8a7148c58af40729668ae08a6d80f270

Nicer output.

abk +5 -4

diff --git a/abk b/abk
index e712ba7..ac969fa 100644
--- a/abk
+++ b/abk
@@ -282,17 +282,17 @@ except:
 	sys.exit(1)
 
 # load destination index
-print "destination index"
+print "* loading destination index"
 dstidx = index_file(dstidx_path)
 dstidx.load()
 
 # create source index
-print "source index"
+print "* building source index"
 srcidx = index_file(srcidx_path)
 srcidx.populate(src_path)
 srcidx.save()
 
-print "sync"
+print "* sync"
 
 # compare them
 update_files = []
@@ -313,7 +313,7 @@ for f in srcidx.names:
 # metadata gets changed later because otherwise we could leave directory times
 # wrong due to files being added to a directory after their creation; this way
 # we're sure there will be no more file creation afterwards
-print 'mdata'
+print '* mdata'
 for f, dst in update_files:
 	try:
 		srcidx.db[f].update_mdata(dst)
@@ -324,6 +324,7 @@ for f, dst in update_files:
 		# back together
 		pass
 
+print '* unlink'
 for f in dstidx.names:
 	if f not in srcidx.names:
 		# files in destination and not in source