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

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

Issue 2282563004: Do not exclude the last revision in the range returned by gitiles. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: typo 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/example.py
diff --git a/scripts/slave/recipe_modules/auto_bisect/example.py b/scripts/slave/recipe_modules/auto_bisect/example.py
index fc65a1b41d385dcd3e888dd34c64ec2af4f618a7..24744c43531e7cff4fc50c7e6ae8aec550b19649 100644
--- a/scripts/slave/recipe_modules/auto_bisect/example.py
+++ b/scripts/slave/recipe_modules/auto_bisect/example.py
@@ -381,7 +381,7 @@ def _get_revision_range_step_data(api, range_data):
"""Adds canned output for fetch_intervening_revisions.py."""
min_rev = range_data[0]['hash']
max_rev = range_data[-1]['hash']
- output = [[r['hash'], 'ignored'] for r in range_data[1:-1]]
+ output = [[r['hash'], 'ignored'] for r in range_data[1:]]
step_name = ('Expanding revision range.for revisions %s:%s' %
(min_rev, max_rev))
return api.step_data(step_name, stdout=api.json.output(output))

Powered by Google App Engine
This is Rietveld 408576698