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

Unified Diff: slave/run_slave.py

Issue 1052143002: Remove FixSubversionConfig from run_slave.py (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/build.git@master
Patch Set: Remove SVN config file Created 5 years, 9 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
« no previous file with comments | « slave/config ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: slave/run_slave.py
diff --git a/slave/run_slave.py b/slave/run_slave.py
index 4ecc1ac2c89bfb6a5585e4117b50d44a35464ad9..aec0959e811d3a0cac56fdb78e234e5ca3f1a629 100755
--- a/slave/run_slave.py
+++ b/slave/run_slave.py
@@ -197,14 +197,6 @@ def HotPatchSlaveBuilder(is_testing):
Bot.remote_setBuilderList = Bot.new_remote_setBuilderList
-def FixSubversionConfig():
- if sys.platform == 'win32':
- dest = os.path.join(os.environ['APPDATA'], 'Subversion', 'config')
- else:
- dest = os.path.join(os.environ['HOME'], '.subversion', 'config')
- shutil.copyfile('config', dest)
-
-
def GetActiveMaster(slave_bootstrap, config_bootstrap, active_slavename):
master_name = os.environ.get(
'TESTING_MASTER', chromium_utils.GetActiveMaster(active_slavename))
@@ -482,9 +474,6 @@ def main():
# This envrionment is defined only when testing the slave on a dev machine.
is_testing = 'TESTING_MASTER' in os.environ
- if not is_testing:
- # Don't overwrite the ~/.subversion/config file when TESTING_MASTER is set.
- FixSubversionConfig()
HotPatchSlaveBuilder(is_testing)
import twisted.scripts.twistd as twistd
« no previous file with comments | « slave/config ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698