From: Holger Levsen Date: Sun, 1 Apr 2012 09:18:14 +0000 (+0200) Subject: avoid failures like http://jenkins/job/vdc-bundles/673/ - reviewing this code I think... X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=9fb4ce6e75b5336850344a9c812bcda269f583ed;p=profitbricks%2Fjenkins-build-scripts.git avoid failures like http://jenkins/job/vdc-bundles/673/ - reviewing this code I think most of lib/git_helper.py should go away --- diff --git a/lib/git_helper.py b/lib/git_helper.py index 48fa7c9..5726d68 100644 --- a/lib/git_helper.py +++ b/lib/git_helper.py @@ -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)