/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Jelmer Vernooij
  • Date: 2011-11-25 17:54:52 UTC
  • mfrom: (6303 +trunk)
  • mto: This revision was merged to the branch mainline in revision 6321.
  • Revision ID: jelmer@samba.org-20111125175452-v0uwwxqcp97tzuzv
Merge bzr.dev.

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
 
        return self.get_file(self._inventory.path2id(path), path)
 
829
        return self.get_file(self.path2id(path), path)
832
830
 
833
831
 
834
832
def find_ids_across_trees(filenames, trees, require_versioned=True):