]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
fix: use full refspec path
authorMathias Klette <mathias.klette@profitbricks.com>
Fri, 16 Sep 2011 17:46:21 +0000 (19:46 +0200)
committerMathias Klette <mathias.klette@profitbricks.com>
Fri, 16 Sep 2011 17:46:21 +0000 (19:46 +0200)
debian_build.py

index 1ca707089e9ff82e9cb0158c1ef94e88f3f5f6cd..81f1002eeefe955ba7bc7c0f7459c7da7a9891b2 100755 (executable)
@@ -278,7 +278,9 @@ if __name__ == '__main__':
 
     # git-buildpackage uses only treeish object in v0.5.10,
     # let's fetch it correctly:
-    GIT_UPSTREAM_BRANCH = git_helper.git_get_treeish(GIT_UPSTREAM_BRANCH)
+    GIT_UPSTREAM_BRANCH = git_helper.git_get_treeish(
+        os.path.join('origin', GIT_UPSTREAM_BRANCH)
+    )
 
     repo = git.repo.Repo()