Searched refs:proj_dir (Results 1 – 1 of 1) sorted by relevance
/tools/repohooks/ |
D | pre-upload.py | 249 def _run_project_hooks_in_cwd(project_name, proj_dir, output, commit_list=None): argument 288 'REPO_PATH': os.path.relpath(proj_dir, rh.git.find_repo_root()), 294 project = rh.Project(name=project_name, dir=proj_dir, remote=remote) 334 def _run_project_hooks(project_name, proj_dir=None, commit_list=None): argument 350 if proj_dir is None: 364 proj_dir = proj_dirs[0] 369 os.chdir(proj_dir) 370 return _run_project_hooks_in_cwd(project_name, proj_dir, output, 397 if not _run_project_hooks(project, proj_dir=worktree): 469 if _run_project_hooks(opts.project, proj_dir=opts.dir,
|