~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/changeset/read_changeset.py

  • Committer: Aaron Bentley
  • Date: 2006-05-16 15:39:35 UTC
  • mto: (1185.82.108 w-changeset)
  • mto: This revision was merged to the branch mainline in revision 1738.
  • Revision ID: abentley@panoramicfeedback.com-20060516153935-d41041f31ed315e2
Downgrade inventory mismatch to warning (source can be inaccurate)

Show diffs side-by-side

added added

removed removed

Lines of Context:
331
331
        assert rev.revision_id == revision_id
332
332
        if sha1 != rev.inventory_sha1:
333
333
            open(',,bogus-inv', 'wb').write(s)
334
 
            raise BzrError('Inventory sha hash mismatch. %s != %s' % (sha1,
335
 
            rev.inventory_sha1))
 
334
            warning('Inventory sha hash mismatch for revision %s. %s'
 
335
                    ' != %s' % (revision_id, sha1, rev.inventory_sha1))
336
336
 
337
337
        
338
338
    def get_changeset(self, repository):