[GRASS-SVN] r74064 - grass-addons/tools/svn2git
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Feb 8 02:39:58 PST 2019
Author: martinl
Date: 2019-02-08 02:39:58 -0800 (Fri, 08 Feb 2019)
New Revision: 74064
Modified:
grass-addons/tools/svn2git/migrate.sh
Log:
svn2git: skip develbranch_6
Modified: grass-addons/tools/svn2git/migrate.sh
===================================================================
--- grass-addons/tools/svn2git/migrate.sh 2019-02-07 16:17:27 UTC (rev 74063)
+++ grass-addons/tools/svn2git/migrate.sh 2019-02-08 10:39:58 UTC (rev 74064)
@@ -2,17 +2,17 @@
# Initialize git repo (preferably use AUTHORS.txt from SVN)
-#mkdir grass-gis-git
+mkdir grass-gis-git
cd grass-gis-git
-# git svn init --stdlayout https://svn.osgeo.org/grass/grass # --no-metadata
-# git svn --authors-file=../AUTHORS.txt fetch
+git svn init --stdlayout https://svn.osgeo.org/grass/grass # --no-metadata
+git svn --authors-file=../AUTHORS.txt fetch
# Create local branches
-git branch develbranch_6 origin/develbranch_6
+# git branch develbranch_6 origin/develbranch_6
for branch in `git branch -r | grep releasebranch | sed 's# origin/##g'`; do
git branch $branch origin/$branch
done
-git checkout develbranch_6
+# git checkout develbranch_6
git branch -D master
git branch master origin/trunk
git checkout master
More information about the grass-commit
mailing list