~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Jelmer Vernooij
  • Date: 2011-11-24 17:24:21 UTC
  • mto: This revision was merged to the branch mainline in revision 6294.
  • Revision ID: jelmer@samba.org-20111124172421-pg7d9k8qopzepav0
RemoveĀ brokenĀ Tree.get_file_by_path.

Show diffs side-by-side

added added

removed removed

Lines of Context:
355
355
        """
356
356
        raise NotImplementedError(self.get_file_size)
357
357
 
358
 
    def get_file_by_path(self, path):
359
 
        raise NotImplementedError(self.get_file_by_path)
360
 
 
361
358
    def is_executable(self, file_id, path=None):
362
359
        """Check if a file is executable.
363
360
 
827
824
        return self.inventory.iter_entries_by_dir(
828
825
            specific_file_ids=specific_file_ids, yield_parents=yield_parents)
829
826
 
 
827
    @deprecated_method(deprecated_in((2, 5, 0)))
830
828
    def get_file_by_path(self, path):
831
829
        return self.get_file(self._inventory.path2id(path), path)
832
830