From: Mathias Klette Date: Fri, 16 Sep 2011 17:46:21 +0000 (+0200) Subject: fix: use full refspec path X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e3a944601356fdcdc4e1902593cba43a55b6fd2c;p=profitbricks%2Fjenkins-build-scripts.git fix: use full refspec path --- diff --git a/debian_build.py b/debian_build.py index 1ca7070..81f1002 100755 --- a/debian_build.py +++ b/debian_build.py @@ -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()