~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/check.py

Added indication of what is being checked.

Show diffs side-by-side

added added

removed removed

Lines of Context:
304
304
    tree, repo, branch = _get_elements(path)
305
305
 
306
306
    if tree is not None:
 
307
        note("Checking working tree at '%s'." 
 
308
             % (tree.bzrdir.root_transport.base,))
307
309
        _check_working_tree(tree)
308
310
 
309
311
    if branch is not None:
319
321
    if repo is not None:
320
322
        repo.lock_read()
321
323
        try:
 
324
            note("Checking repository at '%s'."
 
325
                 % (repo.bzrdir.root_transport.base,))
322
326
            result = repo.check()
323
327
            result.report_results(verbose)
324
328
            for branch in branches:
 
329
                note("Checking branch at '%s'."
 
330
                     % (branch.bzrdir.root_transport.base,))
325
331
                check_branch(branch, verbose)
326
332
        finally:
327
333
            repo.unlock()