~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repository.py

  • Committer: Robert Collins
  • Date: 2008-04-08 21:41:15 UTC
  • mto: This revision was merged to the branch mainline in revision 3350.
  • Revision ID: robertc@robertcollins.net-20080408214115-qiz6rr5kyt5mxsyi
 * ``VersionedFile.clear_cache`` and ``enable_cache`` are deprecated.
   These methods added significant complexity to the ``VersionedFile``
   implementation, but were only used for optimising fetches from knits - 
   which can be done from outside the knit layer, or via a caching
   decorator. As knits are not the default format, the complexity is no
   longer worth paying. (Robert Collins)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1452
1452
        # processed?
1453
1453
        self.lock_read()
1454
1454
        inv_w = self.get_inventory_weave()
1455
 
        inv_w.enable_cache()
1456
1455
 
1457
1456
        # file ids that changed
1458
1457
        file_ids = self.fileids_altered_by_revision_ids(revision_ids, inv_w)