From: Robin Wittler Date: Wed, 3 Aug 2011 12:56:32 +0000 (+0200) Subject: remove check X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=3a9a41bccf3632538a9c27dd7da4340aae8e1350;p=profitbricks%2Fjenkins-build-scripts.git remove check --- diff --git a/lib/git_helper.py b/lib/git_helper.py index 779b57f..d3a10e5 100644 --- a/lib/git_helper.py +++ b/lib/git_helper.py @@ -72,8 +72,8 @@ def git_clone_remote_repository(url, destination): def git_new_branch_from(branch_name, from_branch): if git_repo_has_branch(branch_name): raise BranchExistError(branch_name) - if not git_repo_has_branch(from_branch): - raise BranchNotExistError(from_branch) +# if not git_repo_has_branch(from_branch): +# raise BranchNotExistError(from_branch) cmd = [GIT, 'checkout', '-b', branch_name, from_branch] cmdobj = subprocess.Popen(