~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 04:10:43 UTC
  • mto: This revision was merged to the branch mainline in revision 3604.
  • Revision ID: robertc@robertcollins.net-20080805041043-6krwcxp2ebhzbumy
Further tweaks to tests and comments in the commit excludes feature.

Show diffs side-by-side

added added

removed removed

Lines of Context:
233
233
        tree = self.make_branch_and_tree('.')
234
234
        self.build_tree(['a/', 'a/b'])
235
235
        tree.smart_add(['.'])
236
 
        tree.commit('test', exclude=['a/b'])
 
236
        tree.commit('test', specific_files=['a'], exclude=['a/b'])
237
237
        # If a/b was excluded it will still be 'added' in status.
238
238
        tree.lock_read()
239
239
        self.addCleanup(tree.unlock)