| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """Meta checkout manager supporting both Subversion and GIT.""" | 6 """Meta checkout manager supporting both Subversion and GIT.""" |
| 7 # Files | 7 # Files |
| 8 # .gclient : Current client configuration, written by 'config' command. | 8 # .gclient : Current client configuration, written by 'config' command. |
| 9 # Format is a Python script defining 'solutions', a list whose | 9 # Format is a Python script defining 'solutions', a list whose |
| 10 # entries each are maps binding the strings "name" and "url" | 10 # entries each are maps binding the strings "name" and "url" |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 import os | 88 import os |
| 89 import platform | 89 import platform |
| 90 import posixpath | 90 import posixpath |
| 91 import pprint | 91 import pprint |
| 92 import re | 92 import re |
| 93 import sys | 93 import sys |
| 94 import time | 94 import time |
| 95 import urllib | 95 import urllib |
| 96 import urlparse | 96 import urlparse |
| 97 | 97 |
| 98 import breakpad # pylint: disable=W0611 |
| 99 |
| 98 import fix_encoding | 100 import fix_encoding |
| 99 import gclient_scm | 101 import gclient_scm |
| 100 import gclient_utils | 102 import gclient_utils |
| 101 import git_cache | 103 import git_cache |
| 102 from third_party.repo.progress import Progress | 104 from third_party.repo.progress import Progress |
| 103 import subcommand | 105 import subcommand |
| 104 import subprocess2 | 106 import subprocess2 |
| 105 from third_party import colorama | 107 from third_party import colorama |
| 106 | 108 |
| 107 CHROMIUM_SRC_URL = 'https://chromium.googlesource.com/chromium/src.git' | 109 CHROMIUM_SRC_URL = 'https://chromium.googlesource.com/chromium/src.git' |
| (...skipping 2214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2322 | 2324 |
| 2323 | 2325 |
| 2324 if '__main__' == __name__: | 2326 if '__main__' == __name__: |
| 2325 try: | 2327 try: |
| 2326 sys.exit(main(sys.argv[1:])) | 2328 sys.exit(main(sys.argv[1:])) |
| 2327 except KeyboardInterrupt: | 2329 except KeyboardInterrupt: |
| 2328 sys.stderr.write('interrupted\n') | 2330 sys.stderr.write('interrupted\n') |
| 2329 sys.exit(1) | 2331 sys.exit(1) |
| 2330 | 2332 |
| 2331 # vim: ts=2:sw=2:tw=80:et: | 2333 # vim: ts=2:sw=2:tw=80:et: |
| OLD | NEW |