~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_ignore.py

  • Committer: Robert Collins
  • Date: 2007-03-07 01:14:11 UTC
  • mfrom: (2321 +trunk)
  • mto: (2321.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: robertc@robertcollins.net-20070307011411-0cmmc8atx67v3nv7
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
        self.build_tree(['dir1/', 'dir1/foo',
60
60
                         'dir2/', 'dir2/bar',
61
61
                         'dir3/', 'dir3/baz'])
62
 
        self.runbzr('ignore dir1 dir2/')
63
 
        self.check_file_contents('.bzrignore', 'dir1\ndir2\n')
 
62
        self.runbzr('ignore dir1 dir2/ dir4\\')
 
63
        self.check_file_contents('.bzrignore', 'dir1\ndir2\ndir4\n')
64
64
        self.assertEquals(self.capture('unknowns'), 'dir3\n')
65
65
 
66
66
    def test_ignore_patterns(self):