Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Nov 2012 19:41:55 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r243159 - projects/portbuild/scripts
Message-ID:  <201211161941.qAGJfttr050982@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon (doc,ports committer)
Date: Fri Nov 16 19:41:55 2012
New Revision: 243159
URL: http://svnweb.freebsd.org/changeset/base/243159

Log:
  Now that this is tested, enable svn and zfs.

Modified:
  projects/portbuild/scripts/updatesnap

Modified: projects/portbuild/scripts/updatesnap
==============================================================================
--- projects/portbuild/scripts/updatesnap	Fri Nov 16 19:39:29 2012	(r243158)
+++ projects/portbuild/scripts/updatesnap	Fri Nov 16 19:41:55 2012	(r243159)
@@ -74,26 +74,26 @@ for branch in $SRC_BRANCHES; do
     if [ ! -d ${mountpoint}/src ]; then
       mkdir ${mountpoint}/src || finish 1
     fi
-    if [ ! -d .svn ]; then
+    if [ ! -d ${mountpoint}/src/.svn ]; then
       if [ $VERBOSE ]; then
-        # XXX MCL 20121115 gotta do the substitution here!
+        # XXX MCL 20121115 gotta do the substitution here, if it's not head!
         echo "svn checkout svn://svn.freebsd.org/base/head ${mountpoint}/src"
       fi
-      #svn checkout svn://svn.freebsd.org/base/head ${mountpoint}/src || finish 1
+      svn checkout svn://svn.freebsd.org/base/head ${mountpoint}/src || finish 1
     else
       if [ $VERBOSE ]; then
         echo "svn up"
       fi
-      #svn up || finish 1
+      svn up || finish 1
     fi
     echo ${fulldate} > src/.updated
     # hack for zfs breakiness
     find . -group wheel|xargs chgrp portmgr
     snapdate=$(stamp ${fulldate})
     if [ $VERBOSE ]; then
-      echo "#zfs snapshot ${zbase_prefix}${branch}/src@${snapdate}"
+      echo "zfs snapshot ${zbase_prefix}${branch}/src@${snapdate}"
     fi
-    #zfs snapshot ${zbase_prefix}${branch}/src@${snapdate} || finish 1
+    zfs snapshot ${zbase_prefix}${branch}/src@${snapdate} || finish 1
 done
 
 finish 0



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