mirror of
https://github.com/Dev-Wiki/git-repo.git
synced 2025-09-26 01:42:13 +08:00
tests: add more wrapper unittests
Change-Id: Ic6b4eb96b871793bc9463c9047674cf3cfbe4b5e Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/259993 Tested-by: Mike Frysinger <vapier@google.com> Reviewed-by: Jonathan Nieder <jrn@google.com>
This commit is contained in:
3
repo
3
repo
@@ -602,7 +602,8 @@ def _CheckGitVersion():
|
||||
|
||||
if ver_act < MIN_GIT_VERSION:
|
||||
need = '.'.join(map(str, MIN_GIT_VERSION))
|
||||
print('fatal: git %s or later required' % need, file=sys.stderr)
|
||||
print('fatal: git %s or later required; found %s' % (need, ver_act.full),
|
||||
file=sys.stderr)
|
||||
raise CloneFailure()
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user