From: Zac Medico Date: Wed, 10 Mar 2010 00:31:43 +0000 (-0000) Subject: Only try to merge portage asap when the new version is different. (trunk r15813) X-Git-Tag: v2.1.8.3 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=6c85fa7fbf9da686c53eb265a133c0032ee964d0;p=portage.git Only try to merge portage asap when the new version is different. (trunk r15813) svn path=/main/branches/2.1.7/; revision=15814 --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index a9b4ca554..8fb1d142b 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -3341,7 +3341,9 @@ class depgraph(object): if replacement_portage == running_portage: replacement_portage = None - if replacement_portage is not None: + if replacement_portage is not None and \ + (running_portage is None or \ + (running_portage.cpv != replacement_portage.cpv)): # update from running_portage to replacement_portage asap asap_nodes.append(replacement_portage)