From: Robin Wittler Date: Wed, 3 Aug 2011 12:21:08 +0000 (+0200) Subject: add remote checkout X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=d49f9b95dae3428b77a870ed37c66c6cfb36597f;p=profitbricks%2Fjenkins-build-scripts.git add remote checkout --- diff --git a/testgit_build.py b/testgit_build.py index f6563f8..d67894e 100755 --- a/testgit_build.py +++ b/testgit_build.py @@ -129,7 +129,11 @@ if __name__ == '__main__': exit_error() atexit.register(remove_git_target_workspace) os.chdir(GIT_TARGET_DIR) - git_helper.git_checkout_branch(GIT_DEBIAN_BRANCH) + #git_helper.git_checkout_branch(GIT_DEBIAN_BRANCH) + git_helper.git_new_branch_from( + GIT_DEBIAN_BRANCH, + os.path.join('origin', GIT_DEBIAN_BRANCH) + ) repo = git.repo.Repo() if not GIT_COMMITTER_EMAIL: # if the GIT_COMMIT_EMAIL is not set,