~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: 2006-10-19 00:05:23 UTC
  • mfrom: (2079.1.2 circular-import)
  • Revision ID: pqm@pqm.ubuntu.com-20061019000523-3b34ef366c1b627f
(John Arbash Meinel) avoid circular imports by properly deprecating RevisionTree

Show diffs side-by-side

added added

removed removed

Lines of Context:
423
423
                xml = self.read_basis_inventory()
424
424
                inv = xml6.serializer_v6.read_inventory_from_string(xml)
425
425
                if inv is not None and inv.revision_id == revision_id:
426
 
                    return bzrlib.tree.RevisionTree(self.branch.repository,
427
 
                                                    inv, revision_id)
 
426
                    return bzrlib.revisiontree.RevisionTree(
 
427
                        self.branch.repository, inv, revision_id)
428
428
            except (NoSuchFile, errors.BadInventoryFormat):
429
429
                pass
430
430
        # No cached copy available, retrieve from the repository.