/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/blackbox/test_shelve.py

  • Committer: Jelmer Vernooij
  • Date: 2009-03-12 14:02:53 UTC
  • mfrom: (4135 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4137.
  • Revision ID: jelmer@samba.org-20090312140253-bmldbzlmsitfdrzf
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
        self.assertEqual('', err)
58
58
        self.assertEqual('  2: Bar\n  1: Foo\n', out)
59
59
 
 
60
    def test_shelve_destroy(self):
 
61
        tree = self.make_branch_and_tree('.')
 
62
        self.build_tree(['file'])
 
63
        tree.add('file')
 
64
        self.run_bzr('shelve --all --destroy')
 
65
        self.failIfExists('file')
 
66
        self.assertIs(None, tree.get_shelf_manager().last_shelf())
 
67
 
60
68
 
61
69
class TestShelveRelpath(TestCaseWithTransport):
62
70