38
38
that no longer exists in the repo
41
def __init__( self, walk_files = None, quiet = False ):
41
def __init__( self, walk_files = None, report = True ):
42
42
CopyBaseWalker.__init__( self )
43
43
self.src_dir = the.repo.full_dir
44
44
self.dst_dir = the.full_home_dir
45
45
self.walk_list = walk_files if walk_files is not None else \
46
self.generate_walk_list()
46
self.generate_walk_list( the.repo.full_dir )
47
47
self.check_dst_symlinks = True
48
48
self.check_dst_ignores = True
52
52
def print_op( self, rel_file, src, op, dst ):
55
if not self.quiet and the.verbose < 2 and op == '*':
57
print " N %s" % ( rel_file )
59
print " D %s" % ( rel_file )
61
print " M %s" % ( rel_file )
63
print " K %s" % ( rel_file )
54
CopyBaseWalker.print_op( self, rel_file, src, op, dst )
65
56
# verbose reporting
66
57
if the.verbose >= 2:
67
58
if op == '*': op = '<'
68
print " %s%s%s %s" % ( src, op, dst, rel_file )
59
print(" %s%s%s %s" % ( src, op, dst, rel_file ))