~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/benchmarks/bench_workingtree.py

  • Committer: Kent Gibson
  • Date: 2006-11-28 17:01:36 UTC
  • mto: (2178.1.1 jam-integration)
  • mto: This revision was merged to the branch mainline in revision 2179.
  • Revision ID: warthog618@gmail.com-20061128170136-b11d15f1de7992af
Ignore pattern matcher (glob.py) patches:
 - '*' now matches leading '.' as per fnmatch.
 - Support '**' extension as per zsh.  
 - fixed case-insensitive match on case-insensitive platforms.
 - Updated NEWS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
63
63
        self.time(t.is_ignored,'bar')
64
64
        ignores._runtime_ignores = set()
65
65
 
 
66
    def test_is_ignored_50_patterns(self):
 
67
        t = self.make_branch_and_tree('.')
 
68
        ignores.add_runtime_ignores([u'*.%i' % i for i in range(1, 49)])
 
69
        ignores.add_runtime_ignores(['./foo', 'foo/bar'])
 
70
        self.time(t.is_ignored,'bar')
 
71
        ignores._runtime_ignores = set()
 
72
 
66
73
    def test_is_ignored_100_patterns(self):
67
74
        t = self.make_branch_and_tree('.')
68
75
        ignores.add_runtime_ignores([u'*.%i' % i for i in range(1, 99)])