mirror of
https://github.com/python-pillow/Pillow.git
synced 2024-12-25 01:16:16 +03:00
Retry svn checkout on failure up to 3 times
This commit is contained in:
parent
2858825771
commit
2666fa0098
|
@ -3,7 +3,17 @@
|
|||
|
||||
rm -rf test_images
|
||||
|
||||
# Use SVN to just fetch a single git subdirectory
|
||||
svn checkout https://github.com/python-pillow/pillow-depends/trunk/test_images
|
||||
# Use SVN to just fetch a single Git subdirectory
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue
Block a user