]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
lets try to get rid of the double clone
authorHolger Levsen <holger@layer-acht.org>
Wed, 8 Feb 2012 16:54:55 +0000 (17:54 +0100)
committerHolger Levsen <holger@layer-acht.org>
Wed, 8 Feb 2012 16:54:55 +0000 (17:54 +0100)
debian_build.py

index 53ba62c961735122c73cb5cb58a14c67de9f3d66..1c2b41b440b9ea0224c8441403784c3fa010779b 100755 (executable)
@@ -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,