This commit is contained in:
ton
2024-10-07 10:13:40 +07:00
parent aa1631742f
commit 3a7d696db6
9729 changed files with 1832837 additions and 161742 deletions

View File

@@ -44,13 +44,13 @@ class Bazaar(VersionControl):
display_path(dest),
)
if verbosity <= 0:
flag = "--quiet"
flags = ["--quiet"]
elif verbosity == 1:
flag = ""
flags = []
else:
flag = f"-{'v'*verbosity}"
flags = [f"-{'v'*verbosity}"]
cmd_args = make_command(
"checkout", "--lightweight", flag, rev_options.to_args(), url, dest
"checkout", "--lightweight", *flags, rev_options.to_args(), url, dest
)
self.run_command(cmd_args)