~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/repofmt/groupcompress_repo.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2009-07-14 17:33:13 UTC
  • mfrom: (4476.1.40 1.17-chk-multilevel)
  • Revision ID: pqm@pqm.ubuntu.com-20090714173313-3p3ytzlfuc3y2bm6
(jam) Some rework of the internals of chk_map.iter_interesting_nodes.

Show diffs side-by-side

added added

removed removed

Lines of Context:
650
650
                parents=False, is_locked=self.is_locked,
651
651
                inconsistency_fatal=False),
652
652
            access=self._pack_collection.chk_index.data_access)
 
653
        search_key_name = self._format._serializer.search_key_name
 
654
        search_key_func = chk_map.search_key_registry.get(search_key_name)
 
655
        self.chk_bytes._search_key_func = search_key_func
653
656
        # True when the repository object is 'write locked' (as opposed to the
654
657
        # physical lock only taken out around changes to the pack-names list.)
655
658
        # Another way to represent this would be a decorator around the control