Gentoo Archives: gentoo-commits

From: "Zac Medico (zmedico)" <zmedico@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r10474 - main/trunk/pym/portage/dbapi
Date: Thu, 29 May 2008 04:53:22
Message-Id: E1K1a8a-0004q3-Cg@stork.gentoo.org
1 Author: zmedico
2 Date: 2008-05-29 04:53:15 +0000 (Thu, 29 May 2008)
3 New Revision: 10474
4
5 Modified:
6 main/trunk/pym/portage/dbapi/vartree.py
7 Log:
8 Make the unmerge time CONFIG_MEMORY_FILE pruning slightly more aggressive,
9 so that anything not claimed by another package in the same slot is
10 pruned.
11
12
13 Modified: main/trunk/pym/portage/dbapi/vartree.py
14 ===================================================================
15 --- main/trunk/pym/portage/dbapi/vartree.py 2008-05-29 00:39:46 UTC (rev 10473)
16 +++ main/trunk/pym/portage/dbapi/vartree.py 2008-05-29 04:53:15 UTC (rev 10474)
17 @@ -1517,9 +1517,6 @@
18 continue
19 if obj.startswith(dest_root):
20 relative_path = obj[dest_root_len:]
21 - if not others_in_slot and \
22 - relative_path in cfgfiledict:
23 - stale_confmem.append(relative_path)
24 is_owned = False
25 for dblnk in others_in_slot:
26 if dblnk.isowner(relative_path, dest_root):
27 @@ -1530,6 +1527,8 @@
28 # don't unmerge it.
29 show_unmerge("---", "replaced", file_type, obj)
30 continue
31 + elif relative_path in cfgfiledict:
32 + stale_confmem.append(relative_path)
33 # next line includes a tweak to protect modules from being unmerged,
34 # but we don't protect modules from being overwritten if they are
35 # upgraded. We effectively only want one half of the config protection
36
37 --
38 gentoo-commits@l.g.o mailing list