diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-04-21 23:57:32 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2009-04-21 23:57:32 +0000 |
commit | fe2d1a432def1febbeda3c9514230c0f26e23628 (patch) | |
tree | 5410ec38ac66dfe634ae3e8b057c6f1c55da735a /scripts | |
parent | 9cecd539906fa1556eb9f4177b00a29c6370848b (diff) |
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
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/auto-build/extra-rsync.bat | 13 |
1 files changed, 13 insertions, 0 deletions
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/ + |