50
50
no_trees = '--no-trees' if is_lightweight else None
51
51
# Initialize the repository.
53
56
if not os.path.exists(os.path.join(repository, '.bzr')):
54
57
call('bzr', 'init-repo', '--quiet', repository, no_trees)
55
58
except subprocess.CalledProcessError as err: