From owner-svn-src-user@FreeBSD.ORG Thu Sep 19 12:29:00 2013 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 6FC204A1; Thu, 19 Sep 2013 12:29:00 +0000 (UTC) (envelope-from des@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5DD6E2A43; Thu, 19 Sep 2013 12:29:00 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r8JCT0wR048115; Thu, 19 Sep 2013 12:29:00 GMT (envelope-from des@svn.freebsd.org) Received: (from des@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r8JCT0w6048114; Thu, 19 Sep 2013 12:29:00 GMT (envelope-from des@svn.freebsd.org) Message-Id: <201309191229.r8JCT0w6048114@svn.freebsd.org> From: Dag-Erling Smørgrav Date: Thu, 19 Sep 2013 12:29:00 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r255702 - user/des/tinderbox X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Sep 2013 12:29:00 -0000 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 {