~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Robert Collins
  • Date: 2005-10-16 21:51:55 UTC
  • mto: This revision was merged to the branch mainline in revision 1458.
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051016215155-e6431a4a5f1d1fb8
rather than getting the branch inventory, WorkingTree can use the whole Branch, or make its own.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1060
1060
        # much more complex to keep consistent than our careful .bzr subset.
1061
1061
        # instead, we should say that working trees are local only, and optimise
1062
1062
        # for that.
1063
 
        return WorkingTree(self._transport.base, self.read_working_inventory())
 
1063
        return WorkingTree(self.base, branch=self)
1064
1064
 
1065
1065
 
1066
1066
    def basis_tree(self):