From: Evan Broder Date: Sat, 5 Dec 2009 20:36:21 +0000 (-0500) Subject: Stuff all of our repos into an /invirt subdirectory, so that we have X-Git-Tag: 0.1.5~61 X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-dev.git/commitdiff_plain/e693fbc9c639083e3003b8de0aff71501afddee2 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 --- 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):