~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/check.py

  • Committer: Alexander Belchenko
  • Date: 2010-06-17 08:53:15 UTC
  • mfrom: (5300 +trunk)
  • mto: (5303.2.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5305.
  • Revision ID: bialix@ukr.net-20100617085315-hr8186zck57zn35s
merge bzr.dev; fix NEWS

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
  indicating that the revision was found/not found.
47
47
"""
48
48
 
49
 
from bzrlib import errors, osutils
50
 
from bzrlib import repository as _mod_repository
51
 
from bzrlib import revision
 
49
from bzrlib import errors
52
50
from bzrlib.branch import Branch
53
51
from bzrlib.bzrdir import BzrDir
54
 
from bzrlib.errors import BzrCheckError
55
 
from bzrlib.repository import Repository
56
52
from bzrlib.revision import NULL_REVISION
57
53
from bzrlib.symbol_versioning import deprecated_function, deprecated_in
58
54
from bzrlib.trace import note
192
188
 
193
189
    def _report_repo_results(self, verbose):
194
190
        note('checked repository %s format %s',
195
 
             self.repository.bzrdir.root_transport,
196
 
             self.repository._format)
 
191
            self.repository.user_url,
 
192
            self.repository._format)
197
193
        note('%6d revisions', self.checked_rev_cnt)
198
194
        note('%6d file-ids', len(self.checked_weaves))
199
195
        if verbose:
451
447
            if do_repo or do_branch or do_tree:
452
448
                if do_repo:
453
449
                    note("Checking repository at '%s'."
454
 
                         % (repo.bzrdir.root_transport.base,))
 
450
                         % (repo.user_url,))
455
451
                result = repo.check(None, callback_refs=needed_refs,
456
452
                    check_repo=do_repo)
457
453
                result.report_results(verbose)