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