446
442
scan_branch(branch, needed_refs, to_unlock)
447
443
if do_branch and not branches:
449
445
if do_tree and base_tree is None and not saw_tree:
451
447
if do_repo or do_branch or do_tree:
453
449
note("Checking repository at '%s'."
455
451
result = repo.check(None, callback_refs=needed_refs,
457
453
result.report_results(verbose)