Lines Matching refs:engine_path
137 def checkout_engine(engine_path, repo_root, recipes_cfg_path): argument
145 if not engine_path and url.startswith('file://'):
146 engine_path = urlparse.urlparse(url).path
148 if not engine_path:
153 engine_path = os.path.join(recipes_path, '.recipe_deps', 'recipe_engine')
157 _git_check_call(['init', engine_path], stdout=NUL)
161 cwd=engine_path, stdout=NUL, stderr=NUL)
163 _git_check_call(['fetch', url, branch], cwd=engine_path, stdout=NUL,
167 _git_check_call(['diff', '--quiet', revision], cwd=engine_path)
169 _git_check_call(['reset', '-q', '--hard', revision], cwd=engine_path)
171 return engine_path
195 engine_path = checkout_engine(engine_override, repo_root, recipes_cfg_path)
199 os.path.join(engine_path, 'recipe_engine', 'main.py')] + args)