~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_transform.py

  • Committer: Aaron Bentley
  • Date: 2007-12-19 17:08:54 UTC
  • mto: This revision was merged to the branch mainline in revision 3135.
  • Revision ID: abentley@panoramicfeedback.com-20071219170854-wkjt195ere6aorsm
Try to optimize iter_changes_accelerated

Show diffs side-by-side

added added

removed removed

Lines of Context:
1512
1512
            calls.append(file_id)
1513
1513
            return real_source_get_file(file_id, path)
1514
1514
        source.get_file = get_file
 
1515
        source.lock_read()
 
1516
        self.addCleanup(source.unlock)
1515
1517
        target = self.make_branch_and_tree('target')
1516
1518
        build_tree(source.basis_tree(), target, source)
1517
1519
        self.assertEqual(['file1-id'], calls)