Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1540)

Unified Diff: scripts/slave/recipe_modules/auto_bisect/revision_state.py

Issue 2227783002: auto_bisect: fix path for checking DEPS (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: scripts/slave/recipe_modules/auto_bisect/revision_state.py
diff --git a/scripts/slave/recipe_modules/auto_bisect/revision_state.py b/scripts/slave/recipe_modules/auto_bisect/revision_state.py
index 60610442c1c0412d2d5388c18ee54584c9d62543..d64d94ee5604fcda9fb1d7b2b5eb3f3a7abcbb48 100644
--- a/scripts/slave/recipe_modules/auto_bisect/revision_state.py
+++ b/scripts/slave/recipe_modules/auto_bisect/revision_state.py
@@ -156,7 +156,8 @@ class RevisionState(object):
if self.needs_patch: # pragma: no cover
return False
api = self.bisector.api
- cwd = api.m.path['slave_build'].join(
+ working_dir = api.working_dir or api.m.path['slave_build']
+ cwd = working_dir.join(
depot_config.DEPOT_DEPS_NAME[self.depot_name]['src'])
name = 'Checking DEPS for ' + self.commit_hash
step_result = api.m.git(

Powered by Google App Engine
This is Rietveld 408576698