~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: 2011-04-18 01:45:48 UTC
  • mfrom: (5793.2.2 inventoryrevisiontree)
  • Revision ID: pqm@pqm.ubuntu.com-20110418014548-4mge2g9h5b04vpcr
(jelmer) Split InventoryRevisionTree out of RevisionTree. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2183
2183
                    # dont use the repository revision_tree api because we want
2184
2184
                    # to supply the inventory.
2185
2185
                    if inv.revision_id == revision_id:
2186
 
                        return revisiontree.RevisionTree(self.branch.repository,
2187
 
                            inv, revision_id)
 
2186
                        return revisiontree.InventoryRevisionTree(
 
2187
                            self.branch.repository, inv, revision_id)
2188
2188
                except errors.BadInventoryFormat:
2189
2189
                    pass
2190
2190
        # raise if there was no inventory, or if we read the wrong inventory.