Check-in [8be0ecb8e6]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:jail/ports -u: Always try upgrading the SVN checkout before updating
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:8be0ecb8e6f7cffd97a4c487f1f64af67d738e22
User & Date: bdrewery 2013-06-23 11:47:23
Context
2013-06-23
12:02
Fix SVN URL recording for SVN 1.8 compatibility check-in: 0dcba7253b user: bdrewery tags: trunk
11:47
jail/ports -u: Always try upgrading the SVN checkout before updating check-in: 8be0ecb8e6 user: bdrewery tags: trunk
2013-06-19
15:23
HTML: When landing on /latest/, force a redirect to the actual build check-in: dc5a304d31 user: bdrewery tags: trunk
Changes

Changes to src/share/poudriere/jail.sh.

   226    226   		if [ -n "${SRCPATCHFILE}" ]; then
   227    227   			msg_n "Patching the sources with ${SRCPATCHFILE}"
   228    228   			svn -q patch ${SRCPATCHFILE} ${JAILMNT}/usr/src || err 1 " fail"
   229    229   			echo done
   230    230   		fi
   231    231   	else
   232    232   		msg_n "Updating the sources from svn..."
          233  +		svn upgrade ${JAILMNT}/usr/src 2>/dev/null || :
   233    234   		svn -q update ${JAILMNT}/usr/src || err 1 " fail"
   234    235   		echo " done"
   235    236   	fi
   236    237   	build_and_install_world
   237    238   }
   238    239   
   239    240   install_from_csup() {

Changes to src/share/poudriere/ports.sh.

   227    227   			SNAPDIR=${PTMNT}/.snap
   228    228   		fi
   229    229   		/usr/sbin/portsnap -d ${SNAPDIR} -p ${PORTSMNT:-${PTMNT}} ${PSCOMMAND} alfred
   230    230   		;;
   231    231   	svn*)
   232    232   		msg_n "Updating the ports tree..."
   233    233   		[ ${VERBOSE} -gt 0 ] || quiet="-q"
          234  +		svn upgrade ${PORTSMNT:-${PTMNT}} 2>/dev/null || :
   234    235   		svn ${quiet} update ${PORTSMNT:-${PTMNT}}
   235    236   		echo " done"
   236    237   		;;
   237    238   	git)
   238    239   		msg "Pulling from ${GIT_URL}"
   239    240   		cd ${PORTSMNT:-${PTMNT}} && git pull
   240    241   		echo " done"