Home
last modified time | relevance | path

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

/tools/external_updater/
Dgit_utils.py21 def _run(cmd, cwd, redirect=True): function
35 _run(['git', 'fetch', '--multiple'] + remote_names, cwd=proj_path)
46 _run(['git', 'remote', 'add', name, url], cwd=proj_path)
58 out = _run(['git', 'remote', '-v'], proj_path)
65 out = _run(['git', 'rev-list', '--left-only', '--ancestry-path',
73 out = _run(['git', 'show', '-s', '--format=%ct', commit], cwd=proj_path)
79 out = _run(['git', 'branch', '-r'], cwd=proj_path)
103 out = _run(['git', "ls-remote", "--tags", remote_name],
122 out = _run(['git', 'merge', branch, '--no-commit'],
132 _run(['git', 'add', file_name], cwd=proj_path)
[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'])