--- trunk/update-checkouts.sh 2008/11/03 19:23:41 98 +++ trunk/update-checkouts.sh 2010/09/13 16:42:01 138 @@ -18,7 +18,9 @@ ls -d */.git | sed 's#/.git##' | while read rep ; do echo "update $rep [git]" - cd $rep && git pull || ./update.sh || echo "FATAL ERROR!" + pull="pull" + if grep svn-remote $rep/.git/config ; then pull="svn fetch" ; fi + cd $rep && git $pull || ./update.sh || echo "FATAL ERROR!" ln -sf `pwd`/.git /var/cache/git/$rep.git || echo "ERROR: can't update symlink to gitweb" cd - done