#/bin/sh

if [ ! -d $3 ]; then
  svn co -r $2 $1 -d $3
else
  cd $3
  svn up -r $2
  cd ..
fi
