if relpath.startswith("."):
sys.exit("Only subdirectories of the current directory can be cleaned. {} specified.".format(dir))
for dirname, subdir, filelist in os.walk(dir):
env.logger.warning((dirname, subdir, filelist))
subdir[:] = [d for d in subdir if not d.startswith(".")]
removed_files.extend([os.path.join(dirname, x) for x in filelist if os.path.abspath(os.path.join(dirname, x)) not in tracked_files])
removed_dirs.extend([os.path.join(dirname, x) for x in subdir if os.path.abspath(os.path.join(dirname, x)) not in tracked_dirs])
//