~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/check.py

  • Committer: Aaron Bentley
  • Date: 2006-06-21 21:35:06 UTC
  • mfrom: (1803 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1804.
  • Revision ID: abentley@panoramicfeedback.com-20060621213506-e58c1f9dc1a6d6d2
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
32
32
# raising them.  If there's more than one exception it'd be good to see them
33
33
# all.
34
34
 
35
 
from bzrlib.errors import BzrCheckError, NoSuchRevision
36
 
from bzrlib.symbol_versioning import *
37
 
from bzrlib.trace import mutter, note, warning
 
35
from bzrlib.errors import BzrCheckError
38
36
import bzrlib.ui
39
 
 
 
37
from bzrlib.trace import note
40
38
 
41
39
class Check(object):
42
40
    """Check a repository"""
148
146
            if inv_sha1 != rev.inventory_sha1:
149
147
                raise BzrCheckError('Inventory sha1 hash doesn\'t match'
150
148
                    ' value in revision {%s}' % rev_id)
151
 
        else:
152
 
            self.missing_inventory_sha_cnt += 1
153
 
            mutter("no inventory_sha1 on revision {%s}", rev_id)
154
149
        self._check_revision_tree(rev_id)
155
150
        self.checked_rev_cnt += 1
156
151