~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_rename_map.py

  • Committer: Robert Collins
  • Date: 2009-05-11 01:59:06 UTC
  • mto: This revision was merged to the branch mainline in revision 4593.
  • Revision ID: robertc@robertcollins.net-20090511015906-6zi6a9b8tuuhipc8
Less lock thrashing in check.py.

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', '')])