Delete nag_max and nag_timer
It's impossible to sync by default on Windows and has been since this was
added: https://www.google.com/search?q=chromium-dev+nag_max
Most recently: https://groups.google.com/a/chromium.org/forum/#!topic/chromium-dev/CEpATyu9udc
So, remove it. If someone needs it they can figure out a more targeted
implementation.
Keep --no-nag-max for backwards compat so that bot scripts won't fail out.
I'll remove it from bot scripts after this has baked a while, and then
come back and remove the option.
R=iannucci@chromium.org
Review URL: https://chromiumcodereview.appspot.com/24950002
git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@225730 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/gclient.py b/gclient.py
index 5064396..749003f 100755
--- a/gclient.py
+++ b/gclient.py
@@ -1768,8 +1768,7 @@
'Cygwin/Python brokenness, it can\'t contain any newlines.')
self.add_option(
'--no-nag-max', default=False, action='store_true',
- help='If a subprocess runs for too long without generating terminal '
- 'output, generate warnings, but do not kill the process.')
+ help='Ignored for backwards compatibility.')
def parse_args(self, args=None, values=None):
"""Integrates standard options processing."""
@@ -1800,8 +1799,6 @@
options.manually_grab_svn_rev = None
if not hasattr(options, 'force'):
options.force = None
- if options.no_nag_max:
- gclient_scm.SCMWrapper.nag_max = None
return (options, args)