3 # Script to track FRESCOR SVN repositories. We do this in order not to
4 # diverge to much from the original code so that it can be easily
5 # joined in future if it will be necessary.
14 if ! git config --get svn-remote.svn.url > /dev/null; then
19 local gitbranch=`git show-ref --verify --hash refs/heads/frescor-svn`
20 local svnbranch=`git show-ref --verify --hash refs/remotes/git-svn`
22 if [ -z "$gitbranch" ]; then
23 echo " Creating frescor-svn branch"
24 git branch frescor-svn git-svn
26 if [ "$gitbranch" != "$svnbranch" ]; then
27 echo " Merging SVN to branch frescor-svn"
31 echo " Already up-to-date"
37 update frsh-include http://www.frescor.org/private/svn/frescor/frsh/trunk/include
38 update fosa http://www.frescor.org/private/svn/frescor/fosa/trunk
39 update fna http://www.frescor.org/private/svn/frescor/fna/trunk