/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/tests/test_ignores.py

  • Committer: John Whitley
  • Date: 2010-01-05 19:29:07 UTC
  • mto: This revision was merged to the branch mainline in revision 4981.
  • Revision ID: whitley@bangpath.org-20100105192907-hy326yzkt7ywdao3
A trial implementation of '!!' syntax for double-negative ignore exclusions.
These act like regular ignores, but take precedence over the single '!' 
exclusions.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
                '#comment\n'
36
36
                ' xx \n' # whitespace
37
37
                '!RE:^\.z.*\n'
 
38
                '!!./.zcompdump\n'
38
39
                ))
39
40
        self.assertEqual(set(['./rootdir',
40
41
                          'randomfile*',
43
44
                          'dos',
44
45
                          ' xx ',
45
46
                          '!RE:^\.z.*',
 
47
                          '!!./.zcompdump',
46
48
                         ]), ignored)
47
49
 
48
50
    def test_parse_empty(self):