From 5282d2b72257fda5f2233317ec625dd6c22b3879 Mon Sep 17 00:00:00 2001 From: Robin Wittler Date: Wed, 3 Aug 2011 14:16:29 +0200 Subject: [PATCH] add debian branch checkout --- testgit_build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testgit_build.py b/testgit_build.py index 0c9736c..b666c45 100755 --- a/testgit_build.py +++ b/testgit_build.py @@ -129,6 +129,7 @@ if __name__ == '__main__': exit_error() atexit.register(remove_git_target_workspace) os.chdir(GIT_TARGET_DIR) + git_helper.git_checkout_branch(GIT_DEBIAN_BRANCH) repo = git.repo.Repo() if not GIT_COMMITTER_EMAIL: # if the GIT_COMMIT_EMAIL is not set, @@ -136,6 +137,9 @@ if __name__ == '__main__': for commit in repo.commits(): if commit.id == GIT_NEW_ID: GIT_COMMITTER_EMAIL = commit.committer.email + logger.debug( + 'Found "%s" in commit-id "%s" at "%s"' + %(GIT_COMMITTER_EMAIL, commit.id, else: raise Exception('No git_committer_email found') logger.info('Directory Listing: %s' %(os.listdir(GIT_TARGET_DIR))) -- 2.39.5