~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-08-18 03:42:51 UTC
  • mfrom: (4606.5.2 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20090818034251-w2biu3woo8y7bcf8
(robertc) Support iter_inventory_xml on CHKRepository. (Robert
        Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1893
1893
            firstline = xml.split('\n', 1)[0]
1894
1894
            if (not 'revision_id="' in firstline or
1895
1895
                'format="7"' not in firstline):
1896
 
                inv = self.branch.repository.deserialise_inventory(
1897
 
                    new_revision, xml)
 
1896
                inv = self.branch.repository._serializer.read_inventory_from_string(
 
1897
                    xml, new_revision)
1898
1898
                xml = self._create_basis_xml_from_inventory(new_revision, inv)
1899
1899
            self._write_basis_inventory(xml)
1900
1900
        except (errors.NoSuchRevision, errors.RevisionNotPresent):