Home
last modified time | relevance | path

Searched refs:proj_dir (Results 1 – 2 of 2) sorted by relevance

/tools/repohooks/
Dpre-upload.py251 def _run_project_hooks_in_cwd(project_name, proj_dir, output, commit_list=None): argument
288 project = rh.Project(name=project_name, dir=proj_dir, remote=remote)
289 rel_proj_dir = os.path.relpath(proj_dir, rh.git.find_repo_root())
340 def _run_project_hooks(project_name, proj_dir=None, commit_list=None): argument
356 if proj_dir is None:
370 proj_dir = proj_dirs[0]
375 os.chdir(proj_dir)
376 return _run_project_hooks_in_cwd(project_name, proj_dir, output,
403 if not _run_project_hooks(project, proj_dir=worktree):
475 if _run_project_hooks(opts.project, proj_dir=opts.dir,
/tools/repohooks/rh/
Dhooks.py163 def __contains__(self, proj_dir): argument
171 if exclusion_path.match(proj_dir):
173 elif fnmatch.fnmatch(proj_dir, exclusion_path):