git: 822e404750b1 - releng/14.0 - newvers: remove references to svnliteversion

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Sat, 14 Oct 2023 00:03:23 UTC
The branch releng/14.0 has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=822e404750b19f96cd375eae9dedfaa3d62c2b05

commit 822e404750b19f96cd375eae9dedfaa3d62c2b05
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-10-02 12:16:50 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-10-13 23:17:51 +0000

    newvers: remove references to svnliteversion
    
    svnliteversion was provided by the base system copy of subversion,
    which was disabled in a2bc17474b96 ("Disable building svnlite(1) by
    default.")
    
    Reviewed by:    zlei
    Sponsored by:   The FreeBSD Foundation
    Differential Revision: https://reviews.freebsd.org/D42034
    
    (cherry picked from commit 826d1446791816fcaa9be59aedc7295ffbc8d5bb)
    (cherry picked from commit f6fa4749f746e493b51eea161b0ae2a28967c32d)
    
    Approved by:    re (gjb)
---
 sys/conf/newvers.sh | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index 6ffe1c40a68f..a876fe20ec49 100644
--- a/sys/conf/newvers.sh
+++ b/sys/conf/newvers.sh
@@ -218,15 +218,6 @@ for dir in /usr/bin /usr/local/bin; do
 	fi
 done
 
-if [ -z "${svnversion}" ] && [ -x /usr/bin/svnliteversion ] ; then
-	/usr/bin/svnliteversion $(realpath ${0}) >/dev/null 2>&1
-	if [ $? -eq 0 ]; then
-		svnversion=/usr/bin/svnliteversion
-	else
-		svnversion=
-	fi
-fi
-
 if findvcs .git; then
 	for dir in /usr/bin /usr/local/bin; do
 		if [ -x "${dir}/git" ] ; then