summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-10-09 05:55:32 +0000
committerZac Medico <zmedico@gentoo.org>2006-10-09 05:55:32 +0000
commit6f9b0bf9e2d86976c3c4ee7836a6e87458d28bdf (patch)
tree87fec3347007730495e04c64ec428de77923c9b8
parent42ef3b2fb4176370aa608fa9ec12f33b5d7da3fb (diff)
downloadportage-6f9b0bf9e2d86976c3c4ee7836a6e87458d28bdf.tar.gz
portage-6f9b0bf9e2d86976c3c4ee7836a6e87458d28bdf.tar.bz2
portage-6f9b0bf9e2d86976c3c4ee7836a6e87458d28bdf.zip
For repoman, hide the vardbapi from dep_zapdeps.
svn path=/main/trunk/; revision=4630
-rwxr-xr-xbin/repoman2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/repoman b/bin/repoman
index 7abe77756..99cb05b1d 100755
--- a/bin/repoman
+++ b/bin/repoman
@@ -476,6 +476,8 @@ if quiet < 2:
trees = portage.create_trees(trees=trees)
settings = trees["/"]["porttree"].settings
portdb = trees["/"]["porttree"].dbapi
+# dep_zapdeps looks at the vardbapi, but it shouldn't for repoman.
+trees["/"]["vartree"].dbapi = portage.fakedbapi(settings=settings)
repoman_settings = portage.config(clone=settings)
if not myreporoot: