Home
last modified time | relevance | path

Searched refs:_run (Results 1 – 3 of 3) sorted by relevance

/tools/external_updater/
Dgit_utils.py25 def _run(cmd: List[str], cwd: Path) -> str: function
37 _run(['git', 'fetch', '--tags', '--multiple'] + remote_names, cwd=proj_path)
48 _run(['git', 'remote', 'add', name, url], cwd=proj_path)
53 _run(['git', 'remote', 'remove', name], cwd=proj_path)
69 out = _run(['git', 'remote', '-v'], proj_path)
76 return _run(['git', 'rev-parse', branch], proj_path).strip()
82 out = _run([
92 out = _run(['git', 'show', '-s', '--format=%ct', commit], cwd=proj_path)
98 lines = _run(['git', 'branch', '-r'], cwd=proj_path).splitlines()
113 lines = _run(['git', "ls-remote", "--tags", remote_name],
[all …]
/tools/repohooks/rh/
Dhooks.py240 def _run(cmd, **kwargs): function
315 result = _run(cmd, **kwargs)
325 _run(cmd, **kwargs),
354 result = _run(cmd, input=data)
829 result = _run(cmd, input=data)
899 result = _run(cmd, input=data)
988 result = _run(cmd, input=data)
Dhooks_unittest.py252 ret = rh.hooks._run(['true'])