svn: Working copy '.' locked svn: run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# How to test this is a valid solution? | |
# 1. Run 'while true; do svn update; done' in one SSH session | |
# 2. Run the below 'while' in a separate SSH session until you see the echo message indicating that there is locking | |
set +e | |
while svn update 2>&1 | grep "Working copy.*locked"; do echo "Retrying 'svn update' after in locked working copy"; sleep 5; done | |
set -e |
No comments:
Post a Comment