Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Feb 2021 17:19:48 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: 70dfc101b632 - main - release: update workaround during transition to git
Message-ID:  <202102021719.112HJmSP032320@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=70dfc101b6324b25ba353465f0d6c610399741fc

commit 70dfc101b6324b25ba353465f0d6c610399741fc
Author:     Glen Barber <gjb@FreeBSD.org>
AuthorDate: 2021-02-02 17:19:36 +0000
Commit:     Glen Barber <gjb@FreeBSD.org>
CommitDate: 2021-02-02 17:19:36 +0000

    release: update workaround during transition to git
    
    PR:             253181
    Submitted by:   Yasuhiro Kimura
    MFC after:      3 days
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
---
 release/release.sh | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/release/release.sh b/release/release.sh
index fbd64bb8234d..372f69177f7e 100755
--- a/release/release.sh
+++ b/release/release.sh
@@ -246,8 +246,11 @@ 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
+		# 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



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