/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/workingtree.py

  • Committer: Ian Clatworthy
  • Date: 2008-05-28 07:01:06 UTC
  • mto: (3515.1.1 ianc-integration)
  • mto: This revision was merged to the branch mainline in revision 3516.
  • Revision ID: ian.clatworthy@canonical.com-20080528070106-6w0oc8zat4bs29g1
make iter_search_rules a tree method

Show diffs side-by-side

added added

removed removed

Lines of Context:
245
245
            # permitted to do this.
246
246
            self._set_inventory(_inventory, dirty=False)
247
247
        self._detect_case_handling()
 
248
        self._rules_searcher = None
248
249
 
249
250
    def _detect_case_handling(self):
250
251
        wt_trans = self.bzrdir.get_workingtree_transport(None)
2435
2436
        """
2436
2437
        return
2437
2438
 
 
2439
    @needs_read_lock
 
2440
    def _get_rules_searcher(self, default_searcher):
 
2441
        """See Tree._get_rules_searcher."""
 
2442
        if self._rules_searcher is None:
 
2443
            self._rules_searcher = super(WorkingTree,
 
2444
                self)._get_rules_searcher(default_searcher)
 
2445
        return self._rules_searcher
 
2446
 
2438
2447
 
2439
2448
class WorkingTree2(WorkingTree):
2440
2449
    """This is the Format 2 working tree.