projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
581381a
)
Add comment in calc_depclean() about topological sort optimization that
author
Zac Medico
<zmedico@gentoo.org>
Tue, 21 Jul 2009 20:33:11 +0000
(20:33 -0000)
committer
Zac Medico
<zmedico@gentoo.org>
Tue, 21 Jul 2009 20:33:11 +0000
(20:33 -0000)
minimizes issues with implicit deps.
svn path=/main/trunk/; revision=13846
pym/_emerge/actions.py
patch
|
blob
|
history
diff --git
a/pym/_emerge/actions.py
b/pym/_emerge/actions.py
index 2d664ca809a58a834dba17d56aba73c36979cb49..f28f0dcaa2c4b4e4017cfafa1e958d1834050c5a 100644
(file)
--- 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))