public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r10034 - main/trunk/pym/_emerge
@ 2008-04-29  3:02 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-04-29  3:02 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-04-29 03:02:20 +0000 (Tue, 29 Apr 2008)
New Revision: 10034

Modified:
   main/trunk/pym/_emerge/__init__.py
Log:
Prevent some more visible downgrades from possibly being missed (bug #219369).


Modified: main/trunk/pym/_emerge/__init__.py
===================================================================
--- main/trunk/pym/_emerge/__init__.py	2008-04-28 22:23:32 UTC (rev 10033)
+++ main/trunk/pym/_emerge/__init__.py	2008-04-29 03:02:20 UTC (rev 10034)
@@ -2786,7 +2786,10 @@
 					# Make --noreplace take precedence over --newuse.
 					if not installed and noreplace and \
 						cpv in vardb.match(atom):
-						break
+						# If the installed version is masked, it may
+						# be necessary to look at lower versions,
+						# in case there is a visible downgrade.
+						continue
 					reinstall_for_flags = None
 					cache_key = (pkg_type, root, cpv, pkg_status)
 					calculated_use = True

-- 
gentoo-commits@lists.gentoo.org mailing list



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-04-29  3:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-29  3:02 [gentoo-commits] portage r10034 - main/trunk/pym/_emerge Zac Medico (zmedico)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox