~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_rename_map.py

  • Committer: Aaron Bentley
  • Date: 2009-04-14 15:02:46 UTC
  • mto: This revision was merged to the branch mainline in revision 4302.
  • Revision ID: aaron@aaronbentley.com-20090414150246-6xfd3bwwf2m8v4px
Cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
        """When a directory has been moved, its children are preserved."""
151
151
        tree = self.make_branch_and_tree('tree')
152
152
        tree.lock_write()
153
 
        self.addCleanup(tree.unlock)
154
153
        self.build_tree_contents([('tree/foo/', ''),
155
154
                                  ('tree/foo/bar', 'bar'),
156
155
                                  ('tree/foo/empty', '')])