From: Zac Medico Date: Wed, 1 Sep 2010 05:12:44 +0000 (-0700) Subject: Fix depgraph._serialize_tasks() so that portage-9999 is always promoted X-Git-Tag: v2.2_rc73~10 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c050d9441afa4523c1a7a5341e3daae90e4c2a4e;p=portage.git Fix depgraph._serialize_tasks() so that portage-9999 is always promoted to the front of the merge list when it is reinstalled. --- diff --git a/pym/_emerge/depgraph.py b/pym/_emerge/depgraph.py index 3be0a196b..aa1427b44 100644 --- a/pym/_emerge/depgraph.py +++ b/pym/_emerge/depgraph.py @@ -3602,7 +3602,9 @@ class depgraph(object): if replacement_portage is not None and \ (running_portage is None or \ - (running_portage.cpv != replacement_portage.cpv)): + running_portage.cpv != replacement_portage.cpv or \ + '9999' in replacement_portage.cpv or \ + 'git' in replacement_portage.inherited): # update from running_portage to replacement_portage asap asap_nodes.append(replacement_portage)