Date: Thu, 19 Sep 2013 12:29:00 +0000 (UTC) From: Dag-Erling Smørgrav <des@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r255702 - user/des/tinderbox Message-ID: <201309191229.r8JCT0w6048114@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 {
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309191229.r8JCT0w6048114>