From 8af90a8ef8ea0cec070525a4cfb6f5bf420510e2 Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Sat, 24 Feb 2018 10:28:24 +0100 Subject: [PATCH] library/roles/smartgears/dataminer_app/templates/algorithms-updater.j2: Add a 'svn cleanup' before the update. --- smartgears/dataminer_app/templates/algorithms-updater.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/smartgears/dataminer_app/templates/algorithms-updater.j2 b/smartgears/dataminer_app/templates/algorithms-updater.j2 index bdaaa08d..8cfb6b3b 100644 --- a/smartgears/dataminer_app/templates/algorithms-updater.j2 +++ b/smartgears/dataminer_app/templates/algorithms-updater.j2 @@ -72,6 +72,8 @@ function check_lock_file() { function update_svn_repo() { logger 'algorithms-updater: update the SVN repo' cd $ALGO_DIR + # Do a svn cleanup to be on the safe side + SVN_CLEANUP_OP=$( svn cleanup ) svn update > $LOG_FILE 2>&1 }