in project_future.py [0:0]
def have_same_trees(full, incr, d):
ok = True
for f in d.left_only:
if ignore_missing(f):
continue
ok = False
common.debug_print("Missing 'incr' file: %s"
% os.path.relpath(os.path.join(d.left, f), full))
for f in d.right_only:
if ignore_missing(f):
continue
ok = False
common.debug_print("Missing 'full' file: %s"
% os.path.relpath(os.path.join(d.right, f), incr))
for f in d.diff_files:
if ignore_diff(f):
continue
ok = False
common.debug_print("File difference: %s"
% os.path.relpath(os.path.join(d.left, f), full))
for sub in d.subdirs.values():
ok = have_same_trees(full, incr, sub) and ok
return ok