~amanica/bzr/325618_log_returns_too_much

« back to all changes in this revision

Viewing changes to bzrlib/workingtree.py

  • Committer: Marius Kruger
  • Date: 2009-11-21 15:02:30 UTC
  • mfrom: (4511.1.308 +trunk)
  • Revision ID: marius.kruger@enerweb.co.za-20091121150230-1nueely2j8xgl7re
merge with bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
636
636
 
637
637
    def _is_executable_from_path_and_stat_from_basis(self, path, stat_result):
638
638
        file_id = self.path2id(path)
 
639
        if file_id is None:
 
640
            # For unversioned files on win32, we just assume they are not
 
641
            # executable
 
642
            return False
639
643
        return self._inventory[file_id].executable
640
644
 
641
645
    def _is_executable_from_path_and_stat_from_stat(self, path, stat_result):
2580
2584
        """
2581
2585
        return
2582
2586
 
2583
 
    @needs_read_lock
2584
2587
    def _get_rules_searcher(self, default_searcher):
2585
2588
        """See Tree._get_rules_searcher."""
2586
2589
        if self._rules_searcher is None: