~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

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

  • Committer: Patch Queue Manager
  • Date: 2012-09-19 08:27:25 UTC
  • mfrom: (6562.1.1 2.6-merge-up-2.5)
  • Revision ID: pqm@pqm.ubuntu.com-20120919082725-dzvmca37zj5xx2hh
(jam) Merge bzr-2.5.2-dev into bzr trunk to get the ConnectionReset
        fixes.

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()