~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/graph.py

  • Committer: John Arbash Meinel
  • Date: 2008-04-25 00:35:35 UTC
  • mto: This revision was merged to the branch mainline in revision 3407.
  • Revision ID: john@arbash-meinel.com-20080425003535-l6a6okvcdhn8f2sj
Found a graph leak.

Needed set.update() rather than set =
The results were still correct, but it would generally cause
a large leak into the rest of the graph.

Show diffs side-by-side

added added

removed removed

Lines of Context:
253
253
            if unique_are_common_nodes:
254
254
                ancestors = unique_searcher.find_seen_ancestors(
255
255
                                unique_are_common_nodes)
256
 
                ancestors = common_searcher.find_seen_ancestors(ancestors)
 
256
                ancestors.update(common_searcher.find_seen_ancestors(ancestors))
257
257
                unique_searcher.stop_searching_any(ancestors)
258
258
                common_searcher.start_searching(ancestors)
259
259