]> Frank Brehm's Git Trees - profitbricks/jenkins-build-scripts.git/commitdiff
avoid failures like http://jenkins/job/vdc-bundles/673/ - reviewing this code I think...
authorHolger Levsen <holger@layer-acht.org>
Sun, 1 Apr 2012 09:18:14 +0000 (11:18 +0200)
committerHolger Levsen <holger@layer-acht.org>
Sun, 1 Apr 2012 09:18:14 +0000 (11:18 +0200)
lib/git_helper.py

index 48fa7c9f2d77503b8e26b5ffaddcdea2cf433378..5726d68b41f85b298762d92464a5026e7f1df53d 100644 (file)
@@ -85,8 +85,8 @@ def git_new_branch_from(branch_name, from_branch):
         )
 
     # this should not happen, we just deleted it
-    if git_repo_has_branch(branch_name):
-        raise BranchExistError(branch_name)
+    #if git_repo_has_branch(branch_name):
+    #    raise BranchExistError(branch_name)
 
     #if not git_repo_has_branch(from_branch):
     #    raise BranchNotExistError(from_branch)