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

Side by Side Diff: gclient.py

Issue 1442583004: Revert of git_cl/gclient: use python2 (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « gclient ('k') | git_cl.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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:
OLDNEW
« no previous file with comments | « gclient ('k') | git_cl.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698