git » abk » commit 87185c9

Import cleanups.

author
2005-03-02 18:51:54 UTC
committer
2005-03-02 18:51:54 UTC
parent 6bfef456e4403ceea0669844781d9464d15a8015

Import cleanups.

abk +2 -3

diff --git a/abk b/abk
index 1570354..bb5bea4 100644
--- a/abk
+++ b/abk
@@ -3,9 +3,7 @@
 import sys
 import os
 import bz2
-import time
 import sha
-import mmap
 import cPickle
 from stat import *
 
@@ -295,12 +293,13 @@ for f in srcidx.names:
 	if f not in dstidx.names or not srcidx.db[f].cmp_data(dstidx.db[f]):
 		# files missing in destination, or data changed
 		dst = os.path.join(dst_path, f)
-		print 'c/u', f, dst
+		print 'data', f, dst
 		quiet_unlink(dst)
 		srcidx.db[f].copy_file(dst)
 		updated_files.append((f, dst))
 	elif not srcidx.db[f].cmp_mdata(dstidx.db[f]):
 		# metadata changed
+		print 'mdata', f, dst
 		dst = os.path.join(dst_path, f)
 		updated_files.append((f, dst))