mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-03 21:24:31 +03:00
Merge pull request #3368 from radarhere/svn_checkout
Retry svn checkout on failure up to 3 times
This commit is contained in:
commit
253443bf20
|
@ -3,7 +3,17 @@
|
||||||
|
|
||||||
rm -rf test_images
|
rm -rf test_images
|
||||||
|
|
||||||
# Use SVN to just fetch a single git subdirectory
|
# Use SVN to just fetch a single Git subdirectory
|
||||||
svn checkout https://github.com/python-pillow/pillow-depends/trunk/test_images
|
svn_checkout()
|
||||||
|
{
|
||||||
|
if [ ! -z $1 ]; then
|
||||||
|
echo ""
|
||||||
|
echo "Retrying svn checkout..."
|
||||||
|
echo ""
|
||||||
|
fi
|
||||||
|
|
||||||
|
svn checkout https://github.com/python-pillow/pillow-depends/trunk/test_images
|
||||||
|
}
|
||||||
|
svn_checkout || svn_checkout retry || svn_checkout retry || svn_checkout retry
|
||||||
|
|
||||||
cp -r test_images/* ../Tests/images
|
cp -r test_images/* ../Tests/images
|
||||||
|
|
Loading…
Reference in New Issue
Block a user