diff options
Diffstat (limited to 'repo')
-rwxr-xr-x | repo | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -145,6 +145,8 @@ if not REPO_URL: | |||
145 | REPO_REV = os.environ.get('REPO_REV') | 145 | REPO_REV = os.environ.get('REPO_REV') |
146 | if not REPO_REV: | 146 | if not REPO_REV: |
147 | REPO_REV = 'stable' | 147 | REPO_REV = 'stable' |
148 | # URL to file bug reports for repo tool issues. | ||
149 | BUG_URL = 'https://bugs.chromium.org/p/gerrit/issues/entry?template=Repo+tool+issue' | ||
148 | 150 | ||
149 | # increment this whenever we make important changes to this script | 151 | # increment this whenever we make important changes to this script |
150 | VERSION = (2, 14) | 152 | VERSION = (2, 14) |
@@ -1171,6 +1173,7 @@ The most commonly used repo commands are: | |||
1171 | 1173 | ||
1172 | For access to the full online help, install repo ("repo init"). | 1174 | For access to the full online help, install repo ("repo init"). |
1173 | """) | 1175 | """) |
1176 | print('Bug reports:', BUG_URL) | ||
1174 | sys.exit(0) | 1177 | sys.exit(0) |
1175 | 1178 | ||
1176 | 1179 | ||
@@ -1204,6 +1207,7 @@ def _Version(): | |||
1204 | print('OS %s %s (%s)' % (uname.system, uname.release, uname.version)) | 1207 | print('OS %s %s (%s)' % (uname.system, uname.release, uname.version)) |
1205 | print('CPU %s (%s)' % | 1208 | print('CPU %s (%s)' % |
1206 | (uname.machine, uname.processor if uname.processor else 'unknown')) | 1209 | (uname.machine, uname.processor if uname.processor else 'unknown')) |
1210 | print('Bug reports:', BUG_URL) | ||
1207 | sys.exit(0) | 1211 | sys.exit(0) |
1208 | 1212 | ||
1209 | 1213 | ||