From: Ramsay Jones Date: Sat, 10 Sep 2011 17:40:10 +0000 (+0100) Subject: t9159-*.sh: skip for mergeinfo test for svn <= 1.4 X-Git-Tag: v1.7.8-rc0~121^2 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=e29bee19012d6aa4fb02dae727caa53947d9e39a;p=git.git t9159-*.sh: skip for mergeinfo test for svn <= 1.4 t9159 relies on the command-line syntax of svn >= 1.5. Given the declining install base of older svn versions, it is not worth our time to support older svn syntax. Signed-off-by: Ramsay Jones Acked-by: Eric Wong Signed-off-by: Junio C Hamano --- diff --git a/t/t9159-git-svn-no-parent-mergeinfo.sh b/t/t9159-git-svn-no-parent-mergeinfo.sh index 85120b70d..69e481578 100755 --- a/t/t9159-git-svn-no-parent-mergeinfo.sh +++ b/t/t9159-git-svn-no-parent-mergeinfo.sh @@ -2,6 +2,14 @@ test_description='git svn handling of root commits in merge ranges' . ./lib-git-svn.sh +svn_ver="$(svn --version --quiet)" +case $svn_ver in +0.* | 1.[0-4].*) + skip_all="skipping git-svn test - SVN too old ($svn_ver)" + test_done + ;; +esac + test_expect_success 'test handling of root commits in merge ranges' ' mkdir -p init/trunk init/branches init/tags && echo "r1" > init/trunk/file.txt &&