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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Feb 15 13:37:38 PST 2019


Author: martinl
Date: 2019-02-15 13:37:38 -0800 (Fri, 15 Feb 2019)
New Revision: 74091

Modified:
   grass-addons/tools/svn2git/1-migrate-core.sh
Log:
svn2git: skip master for grass-legacy

Modified: grass-addons/tools/svn2git/1-migrate-core.sh
===================================================================
--- grass-addons/tools/svn2git/1-migrate-core.sh	2019-02-15 21:06:14 UTC (rev 74090)
+++ grass-addons/tools/svn2git/1-migrate-core.sh	2019-02-15 21:37:38 UTC (rev 74091)
@@ -15,7 +15,9 @@
     fi
     for branch in `git branch -r | grep $branch_filter | sed 's#  origin/##g'`; do
         git branch $branch origin/$branch
+        git checkout $branch
     done
+    git branch -D master
     if [ $DIR = "grass" ] ; then
         git branch master origin/trunk
         git checkout master



More information about the grass-commit mailing list