Home

openscenegraph edited this page Oct 8, 2010 · 5 revisions
Clone this wiki locally

Hi,

This service is provided to mirror the official osg subversion repository.

There is hidden information on OSG's website on how to use this repository.

This mirror is done by this script on a git svn clone repository : osg-svn2git.sh

#!/bin/sh
LOCKFILE=/tmp/git-osg.lock
if [ -f $LOCKFILE ]; then
exit 
fi

touch $LOCKFILE

cd ~/Documents/OpenSceneGraph/git-osg
/usr/bin/git svn fetch
/usr/bin/git checkout master
/usr/bin/git merge remotes/trunk
/usr/bin/git checkout OpenSceneGraph-2.8
/usr/bin/git merge remotes/OpenSceneGraph-2.8
/usr/bin/git checkout master

/usr/bin/git push gitorious master
/usr/bin/git push github master
/usr/bin/git push github OpenSceneGraph-2.8

rm $LOCKFILE