From: Holger Levsen Date: Wed, 8 Feb 2012 16:54:55 +0000 (+0100) Subject: lets try to get rid of the double clone X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=3b41b9e632c9092c7a9188c7fac1dac166b2cc8b;p=profitbricks%2Fjenkins-build-scripts.git lets try to get rid of the double clone --- diff --git a/debian_build.py b/debian_build.py index 53ba62c..1c2b41b 100755 --- a/debian_build.py +++ b/debian_build.py @@ -260,10 +260,11 @@ if __name__ == '__main__': repo = git.repo.Repo() if GIT_BRANCH_NAME != 'master': - git_helper.git_new_branch_from( - GIT_BRANCH_NAME, - os.path.join('origin', GIT_BRANCH_NAME) - ) + #git_helper.git_new_branch_from( + git_helper.git_checkout_branch( + GIT_BRANCH_NAME) #, + # os.path.join('origin', GIT_BRANCH_NAME) + #) # git-buildpackage uses only treeish object in v0.5.10, so let's fetch the # treeish refspec when a name was given (i.e. tag names, branch names,