summaryrefslogtreecommitdiffstats
path: root/repo
diff options
context:
space:
mode:
Diffstat (limited to 'repo')
-rwxr-xr-xrepo11
1 files changed, 6 insertions, 5 deletions
diff --git a/repo b/repo
index 4d8e8dca..ac1eca8f 100755
--- a/repo
+++ b/repo
@@ -3,8 +3,8 @@
3## repo default configuration 3## repo default configuration
4## 4##
5from __future__ import print_function 5from __future__ import print_function
6REPO_URL='https://gerrit.googlesource.com/git-repo' 6REPO_URL = 'https://gerrit.googlesource.com/git-repo'
7REPO_REV='stable' 7REPO_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'
24VERSION = (1, 19) 24VERSION = (1, 19)
25 25
26# increment this if the MAINTAINER_KEYS block is modified 26# increment this if the MAINTAINER_KEYS block is modified
27KEYRING_VERSION = (1,1) 27KEYRING_VERSION = (1, 1)
28MAINTAINER_KEYS = """ 28MAINTAINER_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')
155group.add_option('--mirror', 155group.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')
158group.add_option('--reference', 159group.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)