summaryrefslogtreecommitdiff
path: root/chromium/tools/bisect-builds.py
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2017-07-17 13:57:45 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2017-07-19 13:44:40 +0000
commit6ec7b8da05d21a3878bd21c691b41e675d74bb1c (patch)
treeb87f250bc19413750b9bb9cdbf2da20ef5014820 /chromium/tools/bisect-builds.py
parentec02ee4181c49b61fce1c8fb99292dbb8139cc90 (diff)
downloadqtwebengine-chromium-6ec7b8da05d21a3878bd21c691b41e675d74bb1c.tar.gz
BASELINE: Update Chromium to 60.0.3112.70
Change-Id: I9911c2280a014d4632f254857876a395d4baed2d Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'chromium/tools/bisect-builds.py')
-rwxr-xr-xchromium/tools/bisect-builds.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/chromium/tools/bisect-builds.py b/chromium/tools/bisect-builds.py
index 442f399253d..2586814f032 100755
--- a/chromium/tools/bisect-builds.py
+++ b/chromium/tools/bisect-builds.py
@@ -1001,6 +1001,11 @@ def PrintChangeLog(min_chromium_rev, max_chromium_rev):
print (' ' + CHANGELOG_URL % (GetGitHashFromSVNRevision(min_chromium_rev),
GetGitHashFromSVNRevision(max_chromium_rev)))
+def error_internal_option(option, opt, value, parser):
+ raise optparse.OptionValueError(
+ 'The -o and -r options are only\navailable in the internal version of '
+ 'this script. Google\nemployees should visit http://go/bisect-builds '
+ 'for\nconfiguration instructions.')
def main():
usage = ('%prog [options] [-- chromium-options]\n'
@@ -1086,6 +1091,8 @@ def main():
default=False,
help='Test the first and last revisions in the range ' +
'before proceeding with the bisect.')
+ parser.add_option("-r", action="callback", callback=error_internal_option)
+ parser.add_option("-o", action="callback", callback=error_internal_option)
(opts, args) = parser.parse_args()