From: Zac Medico Date: Tue, 21 Jul 2009 20:33:11 +0000 (-0000) Subject: Add comment in calc_depclean() about topological sort optimization that X-Git-Tag: v2.2_rc34~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fe6e94590a81975460289b67113bb85c931bd4cf;p=portage.git Add comment in calc_depclean() about topological sort optimization that minimizes issues with implicit deps. svn path=/main/trunk/; revision=13846 --- diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 2d664ca80..f28f0dcaa 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -1142,7 +1142,8 @@ def calc_depclean(settings, trees, ldpath_mtimes, cleanlist = [pkg.cpv for pkg in graph.order] else: # Order nodes from lowest to highest overall reference count for - # optimal root node selection. + # optimal root node selection (this can help minimize issues + # with unaccounted implicit dependencies). node_refcounts = {} for node in graph.order: node_refcounts[node] = len(graph.parent_nodes(node))