Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 May 2021 14:48:41 GMT
From:      Glen Barber <gjb@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: fb6e261c20eb - main - release: follow-up to previous commit to use Git for the ports tree
Message-ID:  <202105121448.14CEmfJH042754@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gjb:

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

commit fb6e261c20ebcd94875d623e167369802721f2dd
Author:     Glen Barber <gjb@FreeBSD.org>
AuthorDate: 2021-05-12 14:29:53 +0000
Commit:     Glen Barber <gjb@FreeBSD.org>
CommitDate: 2021-05-12 14:29:53 +0000

    release: follow-up to previous commit to use Git for the ports tree
    
    MFC after:      immediately (pending re approval)
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 release/release.sh | 12 ++----------
 1 file changed, 2 insertions(+), 10 deletions(-)

diff --git a/release/release.sh b/release/release.sh
index 84a7813205f9..87e22e669fd1 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -222,16 +222,8 @@ chroot_setup() {
 		fi
 	fi
 	if [ -z "${NOPORTS}" ] && [ -z "${PORTS_UPDATE_SKIP}" ]; then
-		# if [ -d "${CHROOTDIR}/usr/ports/.git" ]; then
-			# git -C ${CHROOTDIR}/usr/ports pull -q
-		# XXX: Workaround for the overlap in the Git conversion timeframe.
-		if [ -d "${CHROOTDIR}/usr/ports/.svn" ]; then
-			${SVNCMD} update ${CHROOTDIR}/usr/ports
-		else
-			#${VCSCMD} ${PORT} -b ${PORTBRANCH} ${CHROOTDIR}/usr/ports
-			# XXX: Workaround for the overlap in the Git
-			# conversion timeframe.
-			${SVNCMD} co ${PORT}/${PORTBRANCH} ${CHROOTDIR}/usr/ports
+		if [ -d "${CHROOTDIR}/usr/ports/.git" ]; then
+			git -C ${CHROOTDIR}/usr/ports pull -q
 		fi
 	fi
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202105121448.14CEmfJH042754>