From e693fbc9c639083e3003b8de0aff71501afddee2 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Sat, 5 Dec 2009 15:36:21 -0500 Subject: [PATCH] Stuff all of our repos into an /invirt subdirectory, so that we have room for future expansion. svn path=/trunk/packages/invirt-dev/; revision=2577 --- invirtibuilder | 2 +- python/invirt/builder.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/invirtibuilder b/invirtibuilder index 0a19484..61efa9f 100755 --- a/invirtibuilder +++ b/invirtibuilder @@ -182,7 +182,7 @@ def updateSuperrepo(pocket, package, commit, principal): Note that there's no locking issue here, because we disallow all pushes to the superrepo. """ - superrepo = os.path.join(b._REPO_DIR, 'packages.git') + superrepo = os.path.join(b._REPO_DIR, 'invirt/packages.git') branch = b.pocketToGit(pocket) tree = c.captureOutput(['git', 'ls-tree', branch], cwd=superrepo) diff --git a/python/invirt/builder.py b/python/invirt/builder.py index 27e21a6..b8e9c0b 100644 --- a/python/invirt/builder.py +++ b/python/invirt/builder.py @@ -26,7 +26,7 @@ class InvalidBuild(ValueError): def getRepo(package): """Return the path to the git repo for a given package.""" - return os.path.join(_REPO_DIR, 'packages', '%s.git' % package) + return os.path.join(_REPO_DIR, 'invirt/packages', '%s.git' % package) def pocketToGit(pocket): -- 1.7.9.5