From f67228463e6f00ade66dc069b65fe37a7bb96f09 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Fri, 1 Jan 2010 19:45:35 -0500 Subject: [PATCH] packageWorkdir needs to be passed the commit to make a workdir from. svn path=/trunk/packages/invirt-dev/; revision=2835 --- invirtibuilder | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/invirtibuilder b/invirtibuilder index ff82d4e..e6bf214 100755 --- a/invirtibuilder +++ b/invirtibuilder @@ -212,7 +212,7 @@ def updateSuperproject(pocket, package, commit, principal): @contextlib.contextmanager -def packageWorkdir(package): +def packageWorkdir(package, commit): """Checkout the package in a temporary working directory. This context manager returns that working directory. The requested @@ -300,7 +300,7 @@ def build(): # do the build ourselves else: db.failed_stage = 'checking out package source' - with packageWorkdir(package) as workdir: + with packageWorkdir(package, commit) as workdir: db.failed_stage = 'preparing source package' packagedir = os.path.join(workdir, package) -- 1.7.9.5