Lines Matching refs:repo_dir
97 repo_dir = '/tmp/%s' % repo
98 print 'Cloning %s prod branch under %s' % (repo, repo_dir)
99 if os.path.exists(repo_dir):
100 infra.local_runner('rm -rf %s' % repo_dir)
101 git_repo = revision_control.GitRepo(repo_dir, GIT_URL[repo])
104 return repo_dir
107 def update_prod_branch(repo, repo_dir, hash_to_rebase): argument
119 with infra.chdir(repo_dir):
149 def get_pushed_commits(repo, repo_dir, pushed_commits_range): argument
165 with infra.chdir(repo_dir):
216 repo_dir = clone_prod_branch(repo)
218 repo, repo_dir, hash_to_rebase)
219 update_log += get_pushed_commits(repo, repo_dir, push_commits_range)