From 3b41b9e632c9092c7a9188c7fac1dac166b2cc8b Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 8 Feb 2012 17:54:55 +0100 Subject: [PATCH] lets try to get rid of the double clone --- debian_build.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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, -- 2.39.5