~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_inv.py

[patch] Aaron Bentley: make revert work in a subdirectory.

Show diffs side-by-side

added added

removed removed

Lines of Context:
422
422
        # Make sure that revert is able to bring them back,
423
423
        # and sets 'a' back to being executable
424
424
 
425
 
        t.revert(['b1/a', 'b1/b'], rev_tree, backups=False)
 
425
        t.revert(['a', 'b'], rev_tree, backups=False)
426
426
        self.assertEqual(['a', 'b'], [cn for cn,ie in t.inventory.iter_entries()])
427
427
 
428
428
        self.failUnless(t.is_executable(a_id), "'a' lost the execute bit")