Enable @live-rebuild for 2.1 branch.
authorZac Medico <zmedico@gentoo.org>
Tue, 4 Sep 2012 20:25:28 +0000 (13:25 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 4 Sep 2012 20:25:28 +0000 (13:25 -0700)
pym/portage/_sets/__init__.py

index 3e6b0d85e2e80aac6bddfb69f6cab3e7e719d204..554c6ae0d4a331c12cb7205d5369afaa24d0e7f2 100644 (file)
@@ -131,6 +131,12 @@ class SetConfig(object):
                parser.set("usersets", "directory", "%(PORTAGE_CONFIGROOT)setc/portage/sets")
                parser.set("usersets", "world-candidate", "true")
 
+               parser.remove_section("live-rebuild")
+               parser.add_section("live-rebuild")
+               parser.set("live-rebuild", "class", "portage.sets.dbapi.VariableSet")
+               parser.set("live-rebuild", "variable", "INHERITED")
+               parser.set("live-rebuild", "includes", "bzr cvs darcs git git-2 mercurial subversion tla")
+
                parser.remove_section("module-rebuild")
                parser.add_section("module-rebuild")
                parser.set("module-rebuild", "class", "portage.sets.dbapi.OwnerSet")