~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_workingtree/test_remove.py

  • Committer: John Arbash Meinel
  • Date: 2013-05-19 14:29:37 UTC
  • mfrom: (6437.63.9 2.5)
  • mto: (6437.63.10 2.5)
  • mto: This revision was merged to the branch mainline in revision 6575.
  • Revision ID: john@arbash-meinel.com-20130519142937-21ykz2n2y2f22za9
Merge in the actual 2.5 branch. It seems I failed before

Show diffs side-by-side

added added

removed removed

Lines of Context:
173
173
        """Removing a absent directory succeeds without corruption (#150438)."""
174
174
        paths = ['a/', 'a/b']
175
175
        tree = self.get_committed_tree(paths)
176
 
        self.get_transport('.').delete_tree('a')
 
176
        tree.bzrdir.root_transport.delete_tree('a')
177
177
        tree.remove(['a'])
178
178
        self.assertRemovedAndDeleted('b')
179
179
        tree._validate()