| OLD | NEW |
| 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 Loading... |
| 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: |
| OLD | NEW |