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

Unified Diff: gclient_scm.py

Issue 2410853002: Revert of gclient: kill git fetch operation that hangs. (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 4 years, 2 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 | « no previous file | gclient_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gclient_scm.py
diff --git a/gclient_scm.py b/gclient_scm.py
index 14bea413eba3211ee08cad4d2eeb4ebfa1bfa21c..29079c582ffc849d56edf721002e49b68877d536 100644
--- a/gclient_scm.py
+++ b/gclient_scm.py
@@ -1199,7 +1199,6 @@
return self._Capture(checkout_args)
def _Fetch(self, options, remote=None, prune=False, quiet=False):
- kill_timeout = float(os.getenv('GCLIENT_KILL_GIT_FETCH_AFTER', 0))
cfg = gclient_utils.DefaultIndexPackConfig(self.url)
fetch_cmd = cfg + [
'fetch',
@@ -1212,8 +1211,7 @@
fetch_cmd.append('--verbose')
elif quiet:
fetch_cmd.append('--quiet')
- self._Run(fetch_cmd, options, show_header=options.verbose, retry=True,
- kill_timeout=kill_timeout)
+ self._Run(fetch_cmd, options, show_header=options.verbose, retry=True)
# Return the revision that was fetched; this will be stored in 'FETCH_HEAD'
return self._Capture(['rev-parse', '--verify', 'FETCH_HEAD'])
« no previous file with comments | « no previous file | gclient_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698