Merge "Suggest --no-thin based on error output"

This commit is contained in:
Zuul 2025-03-31 20:58:15 +00:00 committed by Gerrit Code Review
commit d248a638bb

View File

@ -1928,6 +1928,8 @@ additional information:
else:
(status, output) = run_command_status(cmd)
print(output)
if status == 1 and 'Missing tree' in output and not options.no_thin:
print('Consider trying again with --no-thin')
if options.finish and not options.dry and status == 0:
finish_branch(branch)