~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-08-05 04:44:16 UTC
  • mfrom: (3603.1.1 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20080805044416-k5w5uuy3l785e7cm
(robertc) Further tweaks to tests and comments in the commit excludes
        feature. (Robert Collins, Andrew Bennetts)

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)