~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Robert Collins
  • Date: 2005-10-03 02:54:29 UTC
  • mto: (1393.1.30)
  • mto: This revision was merged to the branch mainline in revision 1400.
  • Revision ID: robertc@robertcollins.net-20051003025429-a9a2b4544b48cdd4
push kind character creation into InventoryEntry and TreeEntry

Show diffs side-by-side

added added

removed removed

Lines of Context:
991
991
        """Return a `Tree` for the working copy."""
992
992
        from bzrlib.workingtree import WorkingTree
993
993
        # TODO: In the future, WorkingTree should utilize Transport
 
994
        # RobertCollins 20051003 - I don't think it should - working trees are
 
995
        # much more complex to keep consistent than our careful .bzr subset.
 
996
        # instead, we should say that working trees are local only, and optimise
 
997
        # for that.
994
998
        return WorkingTree(self._transport.base, self.read_working_inventory())
995
999
 
996
1000