git: 826d14467918 - main - newvers: remove references to svnliteversion

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Tue, 10 Oct 2023 03:47:35 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=826d1446791816fcaa9be59aedc7295ffbc8d5bb

commit 826d1446791816fcaa9be59aedc7295ffbc8d5bb
Author:     Ed Maste <emaste@FreeBSD.org>
AuthorDate: 2023-10-02 12:16:50 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2023-10-10 03:46:36 +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
---
 sys/conf/newvers.sh | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/sys/conf/newvers.sh b/sys/conf/newvers.sh
index 33615a8d94f8..ffab36d7f964 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