Files
openlayers/tools/git_to_svn.sh
Example User 290b6c886d Update script
git-svn-id: http://svn.openlayers.org/trunk/openlayers@12399 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
2011-09-17 23:04:32 +00:00

18 lines
535 B
Bash

#!/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