~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/check.py

  • Committer: Robert Collins
  • Date: 2009-08-05 02:30:59 UTC
  • mto: This revision was merged to the branch mainline in revision 4593.
  • Revision ID: robertc@robertcollins.net-20090805023059-wkw6m0c9fommcwth
Fix failing tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
402
402
 
403
403
 
404
404
def check_dwim(path, verbose, do_branch=False, do_repo=False, do_tree=False):
 
405
    """Check multiple objects.
 
406
 
 
407
    If errors occur they are accumulated and reported as far as possible, and
 
408
    an exception raised at the end of the process.
 
409
    """
405
410
    try:
406
411
        base_tree, branch, repo, relpath = \
407
412
                        BzrDir.open_containing_tree_branch_or_repository(path)