Commit bba65e12 authored by Michael Pyne's avatar Michael Pyne
Browse files

Backport auto-svn-cleanup feature to kdesvn-build for KDE 3.5.

svn path=/branches/KDE/3.5/kdesdk/scripts/kdesvn-build; revision=449046
parent 37053971
......@@ -974,6 +974,20 @@ sub update_module_path
note "Updating g[$module]";
$result = run_svn($module, 'svn-up', \@args);
if($result) # Update failed, try svn cleanup.
info "\tUpdate failed, trying a cleanup.";
$result = safe_system('svn', 'cleanup');
return $result if $result;
info "\tCleanup complete.";
# Now try again.
$result = run_svn($module, 'svn-up-2', \@args);
return $result if $result;
# If the admin dir exists and is a soft link, remove it so that svn can
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment