~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

  • Committer: Martin Pool
  • Date: 2005-05-11 02:22:26 UTC
  • Revision ID: mbp@sourcefrog.net-20050511022225-fcf4f70dce45d2c8
- Split WorkingTree into its own file
- pychecker fixes
- statcache works in terms of just directories, not branches
- use statcache from workingtree when getting file SHA-1 so that 
  diffs are faster

Show diffs side-by-side

added added

removed removed

Lines of Context:
24
24
import bzrlib
25
25
from inventory import Inventory
26
26
from trace import mutter, note
27
 
from tree import Tree, EmptyTree, RevisionTree, WorkingTree
 
27
from tree import Tree, EmptyTree, RevisionTree
28
28
from inventory import InventoryEntry, Inventory
29
29
from osutils import isdir, quotefn, isfile, uuid, sha_file, username, \
30
30
     format_date, compact_date, pumpfile, user_email, rand_bytes, splitpath, \
785
785
 
786
786
    def working_tree(self):
787
787
        """Return a `Tree` for the working copy."""
 
788
        from workingtree import WorkingTree
788
789
        return WorkingTree(self.base, self.read_working_inventory())
789
790
 
790
791