~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/workingtree_implementations/test_commit.py

  • Committer: Robert Collins
  • Date: 2008-08-05 00:06:19 UTC
  • mto: This revision was merged to the branch mainline in revision 3603.
  • Revision ID: robertc@robertcollins.net-20080805000619-bfje55v540epfkvr
Andrew's review feedback.

Show diffs side-by-side

added added

removed removed

Lines of Context:
221
221
        self.build_tree(['a', 'b', 'c'])
222
222
        tree.smart_add(['.'])
223
223
        tree.commit('test', exclude=['b', 'c'])
224
 
        # If b was ignored it will still be 'added' in status.
 
224
        # If b was excluded it will still be 'added' in status.
225
225
        tree.lock_read()
226
226
        self.addCleanup(tree.unlock)
227
227
        changes = list(tree.iter_changes(tree.basis_tree()))
234
234
        self.build_tree(['a/', 'a/b'])
235
235
        tree.smart_add(['.'])
236
236
        tree.commit('test', exclude=['a/b'])
237
 
        # If a/b was ignored it will still be 'added' in status.
 
237
        # If a/b was excluded it will still be 'added' in status.
238
238
        tree.lock_read()
239
239
        self.addCleanup(tree.unlock)
240
240
        changes = list(tree.iter_changes(tree.basis_tree()))