diff options
author | Mike Frysinger <vapier@google.com> | 2021-04-20 23:38:04 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@google.com> | 2021-04-26 21:43:43 +0000 |
commit | a1cd770d566400364c43acd40b980a7138820797 (patch) | |
tree | 2147bd26a440c3129930eb4f29fb551748dc475c /git_superproject.py | |
parent | cd89ec147ad59f19ebe16a4a30b13606102213c0 (diff) | |
download | git-repo-a1cd770d566400364c43acd40b980a7138820797.tar.gz |
help/version: sprinkle bug report URL around
Make it a bit easier for people to locate bug reporting info.
Change-Id: If9c8939c84ebd52eb96b353c1797afa25868bb85
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/303943
Tested-by: Mike Frysinger <vapier@google.com>
Reviewed-by: Raman Tenneti <rtenneti@google.com>
Diffstat (limited to 'git_superproject.py')
-rw-r--r-- | git_superproject.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/git_superproject.py b/git_superproject.py index 89320971..2516545d 100644 --- a/git_superproject.py +++ b/git_superproject.py | |||
@@ -26,9 +26,9 @@ import hashlib | |||
26 | import os | 26 | import os |
27 | import sys | 27 | import sys |
28 | 28 | ||
29 | from error import BUG_REPORT_URL | ||
30 | from git_command import GitCommand | 29 | from git_command import GitCommand |
31 | from git_refs import R_HEADS | 30 | from git_refs import R_HEADS |
31 | from wrapper import Wrapper | ||
32 | 32 | ||
33 | _SUPERPROJECT_GIT_NAME = 'superproject.git' | 33 | _SUPERPROJECT_GIT_NAME = 'superproject.git' |
34 | _SUPERPROJECT_MANIFEST_NAME = 'superproject_override.xml' | 34 | _SUPERPROJECT_MANIFEST_NAME = 'superproject_override.xml' |
@@ -273,7 +273,7 @@ class Superproject(object): | |||
273 | projects_missing_commit_ids.append(path) | 273 | projects_missing_commit_ids.append(path) |
274 | if projects_missing_commit_ids: | 274 | if projects_missing_commit_ids: |
275 | print('error: please file a bug using %s to report missing commit_ids for: %s' % | 275 | print('error: please file a bug using %s to report missing commit_ids for: %s' % |
276 | (BUG_REPORT_URL, projects_missing_commit_ids), file=sys.stderr) | 276 | (Wrapper().BUG_URL, projects_missing_commit_ids), file=sys.stderr) |
277 | return None | 277 | return None |
278 | 278 | ||
279 | manifest_path = self._WriteManfiestFile() | 279 | manifest_path = self._WriteManfiestFile() |