From d49f9b95dae3428b77a870ed37c66c6cfb36597f Mon Sep 17 00:00:00 2001 From: Robin Wittler Date: Wed, 3 Aug 2011 14:21:08 +0200 Subject: [PATCH] add remote checkout --- testgit_build.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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, -- 2.39.5