~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/inventory.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-04-09 23:35:55 UTC
  • mfrom: (3316.2.15 api-cleanup)
  • Revision ID: pqm@pqm.ubuntu.com-20080409233555-n26cmi0y1hb98tf6
(robertc) Many VersionedFile api cleanups and deprecations. Some
        incompatible changes included (see NEWS). (Robert Collins)

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