~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_add.py

  • Committer: Robey Pointer
  • Date: 2006-09-08 18:52:17 UTC
  • mfrom: (1993 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1996.
  • Revision ID: robey@lag.net-20060908185217-6a4406e1d41753f5
merge from 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'.')