/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: Robert Collins
  • Date: 2007-10-18 01:31:01 UTC
  • mto: (2592.3.218 repository)
  • mto: This revision was merged to the branch mainline in revision 2917.
  • Revision ID: robertc@robertcollins.net-20071018013101-6zbs4utnk16q59fu
Make HeadsCache actually work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
386
386
        :return: A set containing the heads, which may be mutated without
387
387
            affecting future lookups.
388
388
        """
389
 
        keys = set(keys)
 
389
        keys = frozenset(keys)
390
390
        try:
391
391
            return set(self._heads[keys])
392
392
        except KeyError: