Lines Matching refs:_run
25 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],
144 _run(['git', 'merge', branch, '--no-commit'], cwd=proj_path)
147 _run(['git', 'merge', '--abort'], cwd=proj_path)
153 _run(['git', 'add', file_name], cwd=proj_path)
158 _run(['git', 'branch', '-D', branch_name], cwd=proj_path)
163 _run(['repo', 'start', branch_name], cwd=proj_path)
168 _run(['git', 'commit', '-m', message], cwd=proj_path)
173 _run(['git', 'checkout', branch_name], cwd=proj_path)
185 _run(cmd, cwd=proj_path)