For repoman, hide the vardbapi from dep_zapdeps.
authorZac Medico <zmedico@gentoo.org>
Mon, 9 Oct 2006 05:55:32 +0000 (05:55 -0000)
committerZac Medico <zmedico@gentoo.org>
Mon, 9 Oct 2006 05:55:32 +0000 (05:55 -0000)
svn path=/main/trunk/; revision=4630

bin/repoman

index 7abe7775653ef179b63baa395f199d4b408376b4..99cb05b1df2b69008a3126cf0ec32f7883ecce4b 100755 (executable)
@@ -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: