[GRASS-SVN] r74096 - grass-addons/tools/svn2git

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 17 07:31:14 PST 2019


Author: martinl
Date: 2019-02-17 07:31:14 -0800 (Sun, 17 Feb 2019)
New Revision: 74096

Modified:
   grass-addons/tools/svn2git/0-migrate-fetch.sh
Log:
svn2git: grass repo start at r31142

Modified: grass-addons/tools/svn2git/0-migrate-fetch.sh
===================================================================
--- grass-addons/tools/svn2git/0-migrate-fetch.sh	2019-02-16 03:30:39 UTC (rev 74095)
+++ grass-addons/tools/svn2git/0-migrate-fetch.sh	2019-02-17 15:31:14 UTC (rev 74096)
@@ -3,17 +3,20 @@
 SCRIPT=`realpath $0` # realpath is a separate package and doesn't need to be installed
 SCRIPTPATH=`dirname $SCRIPT`
 
-function fetch() {
+fetch() {
     DIR=$1
     OPT=$2
+    RANGE=$3
     
+    rm -rf $DIR
     mkdir $DIR
     cd $DIR
     git svn init $OPT https://svn.osgeo.org/grass/grass
-    git svn --authors-file=${SCRIPTPATH}/AUTHORS.txt fetch
+    git svn $RANGE --authors-file=${SCRIPTPATH}/AUTHORS.txt fetch
     cd ..
 }
 
-fetch "grass-fetch" "--stdlayout"
+fetch "grass-fetch" "--stdlayout" "-r31142:75000"
+fetch "grass-legacy-fetch" "--stdlayout"
 fetch "grass-addons-fetch"
 fetch "grass-promo-fetch"



More information about the grass-commit mailing list