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

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
121
121
    def test_add_dry_run(self):
122
122
        """Test a dry run add, make sure nothing is added."""
123
123
        from bzrlib.commands import run_bzr
124
 
        ignores._set_user_ignores(['./.bazaar'])
125
124
        eq = self.assertEqual
126
125
        wt = self.make_branch_and_tree('.')
127
126
        self.build_tree(['inertiatic/', 'inertiatic/esp'])
140
139
        from bzrlib.commands import run_bzr
141
140
        wt = self.make_branch_and_tree('.')
142
141
        # The default ignore list includes '*.py[co]', but not CVS
143
 
        ignores._set_user_ignores(['./.bazaar', '*.py[co]'])
 
142
        ignores._set_user_ignores(['*.py[co]'])
144
143
        self.build_tree(['inertiatic/', 'inertiatic/esp', 'inertiatic/CVS',
145
144
                        'inertiatic/foo.pyc'])
146
145
        added, ignored = smart_add_tree(wt, u'.')