Print better information during Chromium sync.

Many users are having problems with the initial sync.
Let's print a bit more information and advice on how
to recover from an aborted sync.

R=phoglund@webrtc.org

Review URL: https://webrtc-codereview.appspot.com/42229004

Cr-Commit-Position: refs/heads/master@{#8617}
git-svn-id: http://webrtc.googlecode.com/svn/trunk@8617 4adac7df-926f-26a2-2b94-8c16560cd09d
diff --git a/sync_chromium.py b/sync_chromium.py
index abea33b..cc850f4 100755
--- a/sync_chromium.py
+++ b/sync_chromium.py
@@ -26,6 +26,7 @@
 import os
 import subprocess
 import sys
+import textwrap
 
 # Bump this whenever the algorithm changes and you need bots/devs to re-sync,
 # ignoring the .last_sync_chromium file
@@ -104,6 +105,9 @@
     else:
       cache_path = '/b/git-cache'
   else:
+    # Verbose, but not as verbose as on the buildbots.
+    args.append('-v')
+
     # Support developers setting the cache_dir in .gclient.
     cache_path = get_cache_dir()
 
@@ -143,6 +147,15 @@
   if target_os_list:
     args += ['--deps=' + target_os_list]
 
+  print textwrap.dedent("""\
+  +--------------------------------------------------------------------+
+  | NOTICE: This sync of Chromium will take a very long time the first |
+  |         time you checkout WebRTC as several gigabytes of data has  |
+  |         to be downloaded. Make sure you don't abort this download  |
+  |         or you will have to issue a 'gclient sync' followed by a   |
+  |         'git auto-svn' to complete the initial setup. If that      |
+  |         fails, you have to wipe everything clean and start over.   |
+  +--------------------------------------------------------------------+""")
   print 'Running "%s" in %s' % (' '.join(args), opts.chromium_dir)
   ret = subprocess.call(args, cwd=opts.chromium_dir, env=env)
   if ret == 0: