~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to tests/test_shelf.py

  • Committer: Aaron Bentley
  • Date: 2008-10-09 00:38:42 UTC
  • mto: (0.15.8 unshelve)
  • mto: This revision was merged to the branch mainline in revision 3820.
  • Revision ID: aaron@aaronbentley.com-20081009003842-egujtcyhieoblz1x
Shelve deleted files properly

Show diffs side-by-side

added added

removed removed

Lines of Context:
132
132
        self.build_tree_contents([('tree/foo/',), ('tree/foo/bar', 'baz')])
133
133
        tree.add(['foo', 'foo/bar'], ['foo-id', 'bar-id'])
134
134
        tree.commit('Added file and directory')
 
135
        tree.unversion(['foo-id', 'bar-id'])
135
136
        os.unlink('tree/foo/bar')
136
137
        os.rmdir('tree/foo')
137
138
        creator = shelf.ShelfCreator(tree, tree.basis_tree())