From 771e69da61d9a235c60b50ab7bdb32f63fd1679c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Lemoine?= Date: Sat, 17 Sep 2011 18:01:29 +0000 Subject: [PATCH] add a git_to_svn.sh script git-svn-id: http://svn.openlayers.org/trunk/openlayers@12380 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf --- tools/git_to_svn.sh | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 tools/git_to_svn.sh diff --git a/tools/git_to_svn.sh b/tools/git_to_svn.sh new file mode 100644 index 0000000000..71b63c238d --- /dev/null +++ b/tools/git_to_svn.sh @@ -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