Lines Matching refs:engine_path
140 def checkout_engine(engine_path, repo_root, recipes_cfg_path): argument
148 if not engine_path and url.startswith('file://'):
149 engine_path = urlparse.urlparse(url).path
151 if not engine_path:
156 engine_path = os.path.join(recipes_path, '.recipe_deps', 'recipe_engine')
160 _git_check_call(['init', engine_path], stdout=NUL)
164 cwd=engine_path, stdout=NUL, stderr=NUL)
166 _git_check_call(['fetch', url, branch], cwd=engine_path, stdout=NUL,
170 _git_check_call(['diff', '--quiet', revision], cwd=engine_path)
172 _git_check_call(['reset', '-q', '--hard', revision], cwd=engine_path)
174 return engine_path
198 engine_path = checkout_engine(engine_override, repo_root, recipes_cfg_path)
202 os.path.join(engine_path, 'recipe_engine', 'main.py')] + args)