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

Side by Side Diff: tools/auto_bisect/source_control.py

Issue 503283002: Update bisect script to handle deleted .DEPS.git from chromium source (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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 unified diff | Download patch
« no previous file with comments | « tools/auto_bisect/bisect_utils.py ('k') | tools/bisect-perf-regression.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 """This module contains the SourceControl class and related functions.""" 5 """This module contains the SourceControl class and related functions."""
6 6
7 import os 7 import os
8 8
9 from . import bisect_utils 9 from . import bisect_utils
10 10
(...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 276
277 Args: 277 Args:
278 filename: Name of file. 278 filename: Name of file.
279 revision_start: Start of revision range. 279 revision_start: Start of revision range.
280 revision_end: End of revision range. 280 revision_end: End of revision range.
281 281
282 Returns: 282 Returns:
283 Returns a list of commits that touched this file. 283 Returns a list of commits that touched this file.
284 """ 284 """
285 cmd = ['log', '--format=%H', '%s~1..%s' % (revision_start, revision_end), 285 cmd = ['log', '--format=%H', '%s~1..%s' % (revision_start, revision_end),
286 filename] 286 '--', filename]
287 output = bisect_utils.CheckRunGit(cmd) 287 output = bisect_utils.CheckRunGit(cmd)
288 288
289 return [o for o in output.split('\n') if o] 289 return [o for o in output.split('\n') if o]
OLDNEW
« no previous file with comments | « tools/auto_bisect/bisect_utils.py ('k') | tools/bisect-perf-regression.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698