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

  • Committer: Robert Collins
  • Date: 2006-08-02 01:50:08 UTC
  • mto: This revision was merged to the branch mainline in revision 1907.
  • Revision ID: robertc@robertcollins.net-20060802015008-b4e41b8c4d8c1908
(robertc) Trivial change to test_commit_removals_respects_filespec to be easir to read.

Show diffs side-by-side

added added

removed removed

Lines of Context:
515
515
        tree.add(['a', 'b'])
516
516
        tree.commit('added a, b')
517
517
        tree.remove(['a', 'b'])
518
 
        Commit().commit(message='removed a', working_tree=tree, 
519
 
                        specific_files='a')
 
518
        tree.commit('removed a', specific_files='a')
520
519
        basis = tree.basis_tree().inventory
521
520
        self.assertIs(None, basis.path2id('a'))
522
521
        self.assertFalse(basis.path2id('b') is None)