diff options
Diffstat (limited to 'repo')
-rwxr-xr-x | repo | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -3,8 +3,8 @@ | |||
3 | ## repo default configuration | 3 | ## repo default configuration |
4 | ## | 4 | ## |
5 | from __future__ import print_function | 5 | from __future__ import print_function |
6 | REPO_URL='https://gerrit.googlesource.com/git-repo' | 6 | REPO_URL = 'https://gerrit.googlesource.com/git-repo' |
7 | REPO_REV='stable' | 7 | REPO_REV = 'stable' |
8 | 8 | ||
9 | # Copyright (C) 2008 Google Inc. | 9 | # Copyright (C) 2008 Google Inc. |
10 | # | 10 | # |
@@ -24,7 +24,7 @@ REPO_REV='stable' | |||
24 | VERSION = (1, 19) | 24 | VERSION = (1, 19) |
25 | 25 | ||
26 | # increment this if the MAINTAINER_KEYS block is modified | 26 | # increment this if the MAINTAINER_KEYS block is modified |
27 | KEYRING_VERSION = (1,1) | 27 | KEYRING_VERSION = (1, 1) |
28 | MAINTAINER_KEYS = """ | 28 | MAINTAINER_KEYS = """ |
29 | 29 | ||
30 | Repo Maintainer <repo@android.kernel.org> | 30 | Repo Maintainer <repo@android.kernel.org> |
@@ -154,7 +154,8 @@ group.add_option('-m', '--manifest-name', | |||
154 | help='initial manifest file', metavar='NAME.xml') | 154 | help='initial manifest file', metavar='NAME.xml') |
155 | group.add_option('--mirror', | 155 | group.add_option('--mirror', |
156 | dest='mirror', action='store_true', | 156 | dest='mirror', action='store_true', |
157 | help='mirror the forrest') | 157 | help='create a replica of the remote repositories ' |
158 | 'rather than a client working directory') | ||
158 | group.add_option('--reference', | 159 | group.add_option('--reference', |
159 | dest='reference', | 160 | dest='reference', |
160 | help='location of mirror directory', metavar='DIR') | 161 | help='location of mirror directory', metavar='DIR') |
@@ -225,7 +226,7 @@ def _Init(args): | |||
225 | except OSError as e: | 226 | except OSError as e: |
226 | print('fatal: cannot make %s directory: %s' | 227 | print('fatal: cannot make %s directory: %s' |
227 | % (repodir, e.strerror), file=sys.stderr) | 228 | % (repodir, e.strerror), file=sys.stderr) |
228 | # Don't faise CloneFailure; that would delete the | 229 | # Don't raise CloneFailure; that would delete the |
229 | # name. Instead exit immediately. | 230 | # name. Instead exit immediately. |
230 | # | 231 | # |
231 | sys.exit(1) | 232 | sys.exit(1) |