[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdesdk/scripts
From: David Faure <faure () kde ! org>
Date: 2013-01-17 14:53:07
Message-ID: 20130117145307.12DF4AC86A () svn ! kde ! org
[Download RAW message or body]
SVN commit 1333483 by dfaure:
Only rm -rf if a "git clone" fails, not if a "git pull" fails.
M +4 -0 kde-checkout-list.pl
--- trunk/KDE/kdesdk/scripts/kde-checkout-list.pl #1333482:1333483
@@ -143,7 +143,9 @@
if ( $doClone ) {
my $command;
+ my $newCheckout = 0;
if ( ! -d "$subdir" ) {
+ $newCheckout = 1;
#modules without the "KDE/" in the branchname are:
# kdebase/kate => only KDE/4.7 and above
# kdeexamples => No branches
@@ -173,8 +175,10 @@
$ohno = 0;
}
}
+ if ($newCheckout) {
printf "REMOVING CLONE DUE TO GIT FAILURE\n";
runCommand("rm -rf $subdir");
+ }
if ($ohno) {
if ($quitOnError) {
printf "Exiting due to quit-on-error option\n";
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic