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

Unified Diff: gclient_utils.py

Issue 177003023: Revert "Re-re-land gclient deletion of mismatching checkouts again" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 6 years, 10 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 | « gclient_scm.py ('k') | scm.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient_utils.py
diff --git a/gclient_utils.py b/gclient_utils.py
index 11bd9fc84951c7952e8d247f7098860949f9160e..47ea50286bf9e2e66347395dd3595966075e0233 100644
--- a/gclient_utils.py
+++ b/gclient_utils.py
@@ -10,7 +10,6 @@ import os
import pipes
import Queue
import re
-import socket
import stat
import subprocess
import sys
@@ -26,20 +25,6 @@ RETRY_MAX = 3
RETRY_INITIAL_SLEEP = 0.5
-def enable_deletion_of_conflicting_checkouts():
- """Determines whether to enable new checkout deletion behavior.
-
- Initially, enables the experimental functionality on a small set of
- bots.
- """
- # TODO(borenet): Remove this hack as soon as we've verified that it
- # doesn't cause the bots to break.
- if not os.environ.get('CHROME_HEADLESS'):
- return False
- return socket.gethostname() in ('vm859-m1', 'BUILD1-M1',
- 'vm630-m1.golo.chromium.org')
-
-
class Error(Exception):
"""gclient exception class."""
def __init__(self, msg, *args, **kwargs):
« no previous file with comments | « gclient_scm.py ('k') | scm.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698