git: 06eda1d83cbb - stable/13 - release: update workaround during transition to git

Glen Barber gjb at FreeBSD.org
Thu Feb 4 20:44:09 UTC 2021


The branch stable/13 has been updated by gjb:

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

commit 06eda1d83cbb80eb05711cfa5509b6b0df580973
Author:     Glen Barber <gjb at FreeBSD.org>
AuthorDate: 2021-02-02 17:19:36 +0000
Commit:     Glen Barber <gjb at FreeBSD.org>
CommitDate: 2021-02-04 20:43:40 +0000

    release: update workaround during transition to git
    
    PR:             253181
    Submitted by:   Yasuhiro Kimura
    Sponsored by:   Rubicon Communications, LLC ("Netgate")
    
    (cherry picked from commit 70dfc101b6324b25ba353465f0d6c610399741fc)
---
 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


More information about the dev-commits-src-all mailing list