public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] portage r10159 - main/branches/2.1.2/bin
@ 2008-05-04  4:09 Zac Medico (zmedico)
  0 siblings, 0 replies; only message in thread
From: Zac Medico (zmedico) @ 2008-05-04  4:09 UTC (permalink / raw
  To: gentoo-commits

Author: zmedico
Date: 2008-05-04 04:09:49 +0000 (Sun, 04 May 2008)
New Revision: 10159

Modified:
   main/branches/2.1.2/bin/emerge
Log:
Make favorites handling in depgraph.select_files() consistent with
SetArg handling when the "system" set is added along with "world".


Modified: main/branches/2.1.2/bin/emerge
===================================================================
--- main/branches/2.1.2/bin/emerge	2008-05-04 03:46:52 UTC (rev 10158)
+++ main/branches/2.1.2/bin/emerge	2008-05-04 04:09:49 UTC (rev 10159)
@@ -2594,15 +2594,17 @@
 					self._sets[s] = expanded_set
 					args.append(SetArg(arg=x, set=expanded_set,
 						root_config=root_config))
+					myfavorites.append(x)
 					if s == "world":
 						# pull in the system set too
 						s = "system"
+						x = SETPREFIX + s
 						expanded_set = InternalPackageSet(
 							initial_atoms=getSetAtoms(s))
 						self._sets[s] = expanded_set
-						args.append(SetArg(arg=SETPREFIX+s, set=expanded_set,
+						args.append(SetArg(arg=x, set=expanded_set,
 							root_config=root_config))
-					myfavorites.append(x)
+						myfavorites.append(x)
 					continue
 				if not is_valid_package_atom(x):
 					portage.writemsg("\n\n!!! '%s' is not a valid package atom.\n" % x,

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



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

only message in thread, other threads:[~2008-05-04  4:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-04  4:09 [gentoo-commits] portage r10159 - main/branches/2.1.2/bin 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