~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/bzrdir.py

  • Committer: Aaron Bentley
  • Date: 2006-08-24 16:45:00 UTC
  • mto: (1910.2.43 format-bumps)
  • mto: This revision was merged to the branch mainline in revision 1997.
  • Revision ID: abentley@panoramicfeedback.com-20060824164500-d46c1e2c45d06147
Get upgrade from format4 under test and fixed for all formats

Show diffs side-by-side

added added

removed removed

Lines of Context:
1548
1548
        assert rev_id not in self.converted_revs
1549
1549
        old_inv_xml = self.branch.repository.inventory_store.get(rev_id).read()
1550
1550
        inv = serializer_v4.read_inventory_from_string(old_inv_xml)
 
1551
        inv.revision_id = rev_id
1551
1552
        rev = self.revisions[rev_id]
1552
1553
        if rev.inventory_sha1:
1553
1554
            assert rev.inventory_sha1 == sha_string(old_inv_xml), \