Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r9604 - main/branches/2.1.2/bin
Date: Sat, 29 Mar 2008 20:29:10
Message-Id: E1Jfhfo-0007ra-AX@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-03-29 20:29:07 +0000 (Sat, 29 Mar 2008)
3 New Revision: 9604
4
5 Modified:
6 main/branches/2.1.2/bin/emerge
7 Log:
8 Fix broken --onlydeps recursion logic.
9
10
11 Modified: main/branches/2.1.2/bin/emerge
12 ===================================================================
13 --- main/branches/2.1.2/bin/emerge 2008-03-29 10:22:57 UTC (rev 9603)
14 +++ main/branches/2.1.2/bin/emerge 2008-03-29 20:29:07 UTC (rev 9604)
15 @@ -1812,7 +1812,9 @@
16 emerge --deep <pkgspec>; we need to recursively check dependencies of pkgspec
17 If we are in --nodeps (no recursion) mode, we obviously only check 1 level of dependencies.
18 """
19 - if "deep" not in self.myparams and not merging and \
20 + if arg and pkg.onlydeps:
21 + pass
22 + elif "deep" not in self.myparams and not merging and \
23 not ("--update" in self.myopts and arg and merging):
24 return 1
25 elif "recurse" not in self.myparams:
26
27 --
28 gentoo-commits@l.g.o mailing list