From fe2d1a432def1febbeda3c9514230c0f26e23628 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Tue, 21 Apr 2009 23:57:32 +0000 Subject: rsync and the perms on SVN's .svn files seem to fight and be unhappy on Cygwin/Windows... this script is tweaked to try to get the 'meat' before the .svn files. Its scheduled to run every 20 minutes on the Windows build box since often it hangs after rsyncing a few files svn path=/trunk/; revision=11082 --- scripts/auto-build/extra-rsync.bat | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 scripts/auto-build/extra-rsync.bat (limited to 'scripts/auto-build') diff --git a/scripts/auto-build/extra-rsync.bat b/scripts/auto-build/extra-rsync.bat new file mode 100644 index 00000000..5ab547f6 --- /dev/null +++ b/scripts/auto-build/extra-rsync.bat @@ -0,0 +1,13 @@ +REM @echo off + +cd \msys\1.0\home\pd\ + +REM C:\msys\1.0\bin\sh --login -i -c find /home/pd/auto-build/pd-extended/ -name entries + +REM Cygwin rsync seems to be unhappy with SVN's .svn file permissions, so +REM ignore SVN files first to get all the 'meat' +rsync -av --progress --exclude='*inv\**' --cvs-exclude --timeout=60 rsync://128.238.56.50/distros/pd-extended/ /home/pd/auto-build/pd-extended/ +sleep 60 +REM now get the SVN changes, this might fail a lot, especially on '.svn/entries' +rsync -av --progress --exclude='*inv\**' --timeout=60 rsync://128.238.56.50/distros/pd-extended/ /home/pd/auto-build/pd-extended/ + -- cgit v1.2.1