Don't try svn.chromium.org for src-internal check

svn://svn.chromium.org/chrome-internal/trunk/src-internal/ doesn't seem
to exist any more.

d:\src>"d:\src\depot_tools\svn_bin\svn.exe"  ls --non-interactive svn://svn.chromium.org/chrome-internal/trunk/src-internal/
svn: Can't connect to host 'svn.chromium.org': A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

R=brucedawson@chromium.org

Review-Url: https://codereview.chromium.org/2327213002
changes/18/399118/1
scottmg 9 years ago committed by Commit bot
parent 9abf453c3a
commit 9fc458976c

@ -210,11 +210,6 @@ def SaveTimestampsAndHash(root, sha1):
def HaveSrcInternalAccess(): def HaveSrcInternalAccess():
"""Checks whether access to src-internal is available.""" """Checks whether access to src-internal is available."""
with open(os.devnull, 'w') as nul: with open(os.devnull, 'w') as nul:
if subprocess.call(
['svn', 'ls', '--non-interactive',
'svn://svn.chromium.org/chrome-internal/trunk/src-internal/'],
shell=True, stdin=nul, stdout=nul, stderr=nul) == 0:
return True
return subprocess.call( return subprocess.call(
['git', '-c', 'core.askpass=true', 'remote', 'show', ['git', '-c', 'core.askpass=true', 'remote', 'show',
'https://chrome-internal.googlesource.com/chrome/src-internal/'], 'https://chrome-internal.googlesource.com/chrome/src-internal/'],

Loading…
Cancel
Save