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

Side by Side Diff: gclient.py

Issue 562031: Fix licensing headers and move most third party code to third_party/... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools/
Patch Set: '' Created 10 years, 10 months 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 | Annotate | Revision Log
« no previous file with comments | « gcl.py ('k') | git-try » ('j') | tests/gclient_scm_test.py » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/python 1 #!/usr/bin/python
2 # 2 # Copyright (c) 2010 The Chromium Authors. All rights reserved.
3 # Copyright 2008 Google Inc. All Rights Reserved. 3 # Use of this source code is governed by a BSD-style license that can be
4 # 4 # found in the LICENSE file.
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
8 #
9 # http://www.apache.org/licenses/LICENSE-2.0
10 #
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
16 5
17 """A wrapper script to manage a set of client modules in different SCM. 6 """A wrapper script to manage a set of client modules in different SCM.
18 7
19 This script is intended to be used to help basic management of client 8 This script is intended to be used to help basic management of client
20 program sources residing in one or more Subversion modules and Git 9 program sources residing in one or more Subversion modules and Git
21 repositories, along with other modules it depends on, also in Subversion or Git, 10 repositories, along with other modules it depends on, also in Subversion or Git,
22 but possibly on multiple respositories, making a wrapper system apparently 11 but possibly on multiple respositories, making a wrapper system apparently
23 necessary. 12 necessary.
24 13
25 Files 14 Files
(...skipping 1158 matching lines...) Expand 10 before | Expand all | Expand 10 after
1184 1173
1185 if "__main__" == __name__: 1174 if "__main__" == __name__:
1186 try: 1175 try:
1187 result = Main(sys.argv) 1176 result = Main(sys.argv)
1188 except gclient_utils.Error, e: 1177 except gclient_utils.Error, e:
1189 print >> sys.stderr, "Error: %s" % str(e) 1178 print >> sys.stderr, "Error: %s" % str(e)
1190 result = 1 1179 result = 1
1191 sys.exit(result) 1180 sys.exit(result)
1192 1181
1193 # vim: ts=2:sw=2:tw=80:et: 1182 # vim: ts=2:sw=2:tw=80:et:
OLDNEW
« no previous file with comments | « gcl.py ('k') | git-try » ('j') | tests/gclient_scm_test.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698