~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/check.py

Merge the fix for bug #819604 into trunk, resolve conflicts.

Show diffs side-by-side

added added

removed removed

Lines of Context:
52
52
    ui,
53
53
    )
54
54
from bzrlib.branch import Branch
55
 
from bzrlib.controldir import ControlDir
 
55
from bzrlib.bzrdir import BzrDir
56
56
from bzrlib.revision import NULL_REVISION
57
57
from bzrlib.trace import note
58
58
from bzrlib.workingtree import WorkingTree
386
386
    """
387
387
    try:
388
388
        base_tree, branch, repo, relpath = \
389
 
                        ControlDir.open_containing_tree_branch_or_repository(path)
 
389
                        BzrDir.open_containing_tree_branch_or_repository(path)
390
390
    except errors.NotBranchError:
391
391
        base_tree = branch = repo = None
392
392