Use EROOT instead of ROOT for keys everywhere.
authorZac Medico <zmedico@gentoo.org>
Tue, 25 Oct 2011 08:59:39 +0000 (01:59 -0700)
committerZac Medico <zmedico@gentoo.org>
Tue, 25 Oct 2011 08:59:39 +0000 (01:59 -0700)
commita715b65f7bd36409c1283e6911265d1f4405ab7a
treef3ad709ca1495be750163ced02fe11562566f910
parent25aaf3e69b8ef0e9a21d0d74a9b7b690b76675cd
Use EROOT instead of ROOT for keys everywhere.

It makes more sense to use EROOT instead of ROOT for keys in mappings
like portage.db, since it allows for multiple prefixes to exist
simultaneously within the same map without having a key collision.
This affects all portageq commands which take a <root> parameter, since
that parameter now corresponds to EROOT instead of ROOT. None of this
makes any difference for non-prefix users, since EROOT and ROOT are
identical when EPREFIX is empty.
26 files changed:
bin/ebuild
bin/emaint
bin/glsa-check
bin/portageq
bin/quickpkg
bin/regenworld
pym/_emerge/BlockerDB.py
pym/_emerge/Package.py
pym/_emerge/RootConfig.py
pym/_emerge/Scheduler.py
pym/_emerge/actions.py
pym/_emerge/depgraph.py
pym/_emerge/main.py
pym/_emerge/unmerge.py
pym/portage/__init__.py
pym/portage/_global_updates.py
pym/portage/_legacy_globals.py
pym/portage/dbapi/vartree.py
pym/portage/news.py
pym/portage/package/ebuild/doebuild.py
pym/portage/tests/ebuild/test_config.py
pym/portage/tests/ebuild/test_doebuild_spawn.py
pym/portage/tests/emerge/test_simple.py
pym/portage/tests/repoman/test_simple.py
pym/portage/tests/resolver/ResolverPlayground.py
pym/portage/util/env_update.py