OLD | NEW |
1 #!/usr/bin/env python2.7 | 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" |
11 # to strings specifying the name and location of the client | 11 # to strings specifying the name and location of the client |
(...skipping 2303 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2315 | 2315 |
2316 | 2316 |
2317 if '__main__' == __name__: | 2317 if '__main__' == __name__: |
2318 try: | 2318 try: |
2319 sys.exit(main(sys.argv[1:])) | 2319 sys.exit(main(sys.argv[1:])) |
2320 except KeyboardInterrupt: | 2320 except KeyboardInterrupt: |
2321 sys.stderr.write('interrupted\n') | 2321 sys.stderr.write('interrupted\n') |
2322 sys.exit(1) | 2322 sys.exit(1) |
2323 | 2323 |
2324 # vim: ts=2:sw=2:tw=80:et: | 2324 # vim: ts=2:sw=2:tw=80:et: |
OLD | NEW |