~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tree.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-08-14 03:53:25 UTC
  • mfrom: (3606.2.5 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080814035325-ikgddts7pv17l23e
(robertc) Disable reading .bzrrules from the working tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
557
557
    def _get_rules_searcher(self, default_searcher):
558
558
        """Get the RulesSearcher for this tree given the default one."""
559
559
        searcher = default_searcher
560
 
        file_id = self.path2id(rules.RULES_TREE_FILENAME)
561
 
        if file_id is not None:
562
 
            ini_file = self.get_file(file_id)
563
 
            searcher = rules._StackedRulesSearcher(
564
 
                [rules._IniBasedRulesSearcher(ini_file), default_searcher])
565
560
        return searcher
566
561
 
567
562