svn commit: r255702 - user/des/tinderbox

Dag-Erling Smørgrav des at FreeBSD.org
Thu Sep 19 12:29:00 UTC 2013


Author: des
Date: Thu Sep 19 12:28:59 2013
New Revision: 255702
URL: http://svnweb.freebsd.org/changeset/base/255702

Log:
  Only run svn cleanup + svn update if the source directory has a .svn
  subdirectory.  The source directory might already exist but be empty;
  for instance, it could be a tmpfs mount.

Modified:
  user/des/tinderbox/tinderbox.pl

Modified: user/des/tinderbox/tinderbox.pl
==============================================================================
--- user/des/tinderbox/tinderbox.pl	Thu Sep 19 12:10:47 2013	(r255701)
+++ user/des/tinderbox/tinderbox.pl	Thu Sep 19 12:28:59 2013	(r255702)
@@ -600,7 +600,7 @@ MAIN:{
 	    my $svncmd = [grep({ -x } @svncmds)]->[0]
 		or error("unable to locate svn binary");
 	    cd("$sandbox");
-	    if (-d $srcdir) {
+	    if (-d "$srcdir/.svn") {
 		spawn($svncmd, "cleanup", $srcdir);
 		push(@svnargs, "update", $srcdir);
 	    } else {


More information about the svn-src-user mailing list