add a git_to_svn.sh script

git-svn-id: http://svn.openlayers.org/trunk/openlayers@12380 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Éric Lemoine
2011-09-17 18:01:29 +00:00
parent 57c16b7345
commit 771e69da61

18
tools/git_to_svn.sh Normal file
View File

@@ -0,0 +1,18 @@
#!/bin/bash
#
# This script assumes a local clone of the openlayers github repository. This
# clone needs to be configured with an svn remote to the openlayers svn. Here
# are the actual steps to get the clone and configure it properly:
#
# $ git clone git@github.com:openlayers/openlayers.git
# $ git svn init -T trunk/openlayers -t tags/openlayers -b branches/openlayers http://svn.openlayers.org/
#
# To run this script change to the local clone first:
#
# $ cd openlayers
# $ git_to_svn.sh
#
git pull origin master
git svn dcommit