~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: 2010-02-01 12:21:33 UTC
  • mfrom: (4988.5.3 private-get-inventory-xml)
  • Revision ID: pqm@pqm.ubuntu.com-20100201122133-g8vkmptowez6qaqi
(Jelmer) Make Repository.get_inventory_xml private.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1904
1904
            # revision_id is set. We must check for this full string, because a
1905
1905
            # root node id can legitimately look like 'revision_id' but cannot
1906
1906
            # contain a '"'.
1907
 
            xml = self.branch.repository.get_inventory_xml(new_revision)
 
1907
            xml = self.branch.repository._get_inventory_xml(new_revision)
1908
1908
            firstline = xml.split('\n', 1)[0]
1909
1909
            if (not 'revision_id="' in firstline or
1910
1910
                'format="7"' not in firstline):