~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

Merge from bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
595
595
        # We can't check the length, because Weave doesn't store that
596
596
        # information, and the whole point of looking at the weave's
597
597
        # sha1sum is that we don't have to extract the text.
598
 
        if self.text_sha1 != w.get_sha1(self.revision):
 
598
        if self.text_sha1 != w.get_sha1s([self.revision])[0]:
599
599
            raise BzrCheckError('text {%s} version {%s} wrong sha1' 
600
600
                                % (self.file_id, self.revision))
601
601
        checker.checked_texts[t] = self.text_sha1