apply_issue: remove old hack.

Nothing should depend on this magic file any more.

R=maruel@chromium.org,agable@chromium.org

Change-Id: Ibff8e2b575b119733c6c21ca6aebe38856c578c1
Reviewed-on: https://chromium-review.googlesource.com/474826
Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
Reviewed-by: Marc-Antoine Ruel <maruel@chromium.org>
changes/26/474826/3
Andrii Shyshkalov 8 years ago committed by Commit Bot
parent 51acef998a
commit eebca917f6

@ -5,7 +5,6 @@
"""Applies an issue from Rietveld.
"""
import getpass
import json
import logging
import optparse
@ -268,15 +267,6 @@ def main():
else:
parser.error('Couldn\'t determine the scm')
# TODO(maruel): HACK, remove me.
# When run a build slave, make sure buildbot knows that the checkout was
# modified.
if options.root_dir == 'src' and getpass.getuser() == 'chrome-bot':
# See sourcedirIsPatched() in:
# http://src.chromium.org/viewvc/chrome/trunk/tools/build/scripts/slave/
# chromium_commands.py?view=markup
open('.buildbot-patched', 'w').close()
print('\nApplying the patch from %s' % issue_url)
try:
scm_obj.apply_patch(patchset, verbose=True)

Loading…
Cancel
Save