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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 24 05:50:49 PST 2019


Author: martinl
Date: 2019-02-24 05:50:48 -0800 (Sun, 24 Feb 2019)
New Revision: 74131

Modified:
   grass-addons/tools/svn2git/0-migrate-fetch.sh
Log:
svn2git: use local copy for fetching

Modified: grass-addons/tools/svn2git/0-migrate-fetch.sh
===================================================================
--- grass-addons/tools/svn2git/0-migrate-fetch.sh	2019-02-24 11:48:06 UTC (rev 74130)
+++ grass-addons/tools/svn2git/0-migrate-fetch.sh	2019-02-24 13:50:48 UTC (rev 74131)
@@ -11,7 +11,9 @@
     rm -rf $DIR
     mkdir $DIR
     cd $DIR
-    git svn init $OPT https://svn.osgeo.org/grass/grass
+    repo=`echo $1 | sed 's/-fetch//g' | sed 's/-legacy//g'`
+    # git svn init $OPT https://svn.osgeo.org/grass/$repo
+    git svn init $OPT file:///opt/osgeo/svn/repos/grass/$repo
     git svn $RANGE --authors-file=${SCRIPTPATH}/AUTHORS.txt fetch
     cd ..
 }



More information about the grass-commit mailing list