~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/plugins/weave_fmt/workingtree.py

  • Committer: Patch Queue Manager
  • Date: 2012-01-27 14:28:32 UTC
  • mfrom: (6445.2.6 avoid-inventory)
  • Revision ID: pqm@pqm.ubuntu.com-20120127142832-qcv2y1c3i0mbt9bl
(jelmer) Avoid the use of inventories in a few more places. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
105
105
                         _bzrdir=a_bzrdir,
106
106
                         _control_files=branch.control_files)
107
107
        basis_tree = branch.repository.revision_tree(revision_id)
108
 
        if basis_tree.inventory.root is not None:
 
108
        if basis_tree.get_root_id() is not None:
109
109
            wt.set_root_id(basis_tree.get_root_id())
110
110
        # set the parent list and cache the basis tree.
111
111
        if _mod_revision.is_null(revision_id):