~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Jelmer Vernooij
  • Date: 2012-02-17 16:37:15 UTC
  • mto: This revision was merged to the branch mainline in revision 6470.
  • Revision ID: jelmer@samba.org-20120217163715-j7f51okljedzvkuj
Remove barely used Inventory.directories().

Show diffs side-by-side

added added

removed removed

Lines of Context:
2912
2912
        This is the same order used by 'osutils.walkdirs'.
2913
2913
        """
2914
2914
        ## TODO: Work from given directory downwards
2915
 
        for path, dir_entry in self.root_inventory.directories():
 
2915
        for path, dir_entry in self.iter_entries_by_dir():
 
2916
            if dir_entry.kind != 'directory':
 
2917
                continue
2916
2918
            # mutter("search for unknowns in %r", path)
2917
2919
            dirabs = self.abspath(path)
2918
2920
            if not isdir(dirabs):