Lines Matching refs:cwd
21 def _run(cmd, cwd, redirect=True): argument
25 check=True, cwd=cwd)
35 _run(['git', 'fetch', '--multiple'] + remote_names, cwd=proj_path)
46 _run(['git', 'remote', 'add', name, url], cwd=proj_path)
73 out = _run(['git', 'show', '-s', '--format=%ct', commit], cwd=proj_path)
79 out = _run(['git', 'branch', '-r'], cwd=proj_path)
104 cwd=proj_path)
123 cwd=proj_path)
126 subprocess.run(['git', 'merge', '--abort'], cwd=proj_path)
132 _run(['git', 'add', file_name], cwd=proj_path)
137 _run(['git', 'branch', '-D', branch_name], cwd=proj_path)
142 _run(['repo', 'start', branch_name], cwd=proj_path)
147 _run(['git', 'commit', '-m', message], cwd=proj_path)
152 _run(['git', 'checkout', branch_name], cwd=proj_path)
158 cwd=proj_path, redirect=False)