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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Oct 7 14:39:59 PDT 2018


Author: martinl
Date: 2018-10-07 14:39:59 -0700 (Sun, 07 Oct 2018)
New Revision: 73495

Modified:
   grass-addons/tools/svn2git/migrate.sh
Log:
svn2git: enable log modification (work in progress, testing needed)

Modified: grass-addons/tools/svn2git/migrate.sh
===================================================================
--- grass-addons/tools/svn2git/migrate.sh	2018-10-07 21:20:35 UTC (rev 73494)
+++ grass-addons/tools/svn2git/migrate.sh	2018-10-07 21:39:59 UTC (rev 73495)
@@ -3,7 +3,7 @@
 # Initialize git repo (preferably use AUTHORS.txt from SVN)
 
 mkdir grass-gis-git ; cd grass-gis-git
-git svn init --stdlayout --prefix=svn https://svn.osgeo.org/grass/grass
+git svn init --stdlayout --no-metadata https://svn.osgeo.org/grass/grass
 git svn --authors-file=../AUTHORS.txt fetch
 
 # Create local branches
@@ -33,5 +33,5 @@
 
 # Fix commit messages (#x -> https://trac.osgeo.org/...)
 git reset --hard HEAD && git checkout master
-# git filter-branch --msg-filter 'python  ../rewrite.py' -- --all
+git filter-branch --msg-filter 'python  ../rewrite.py' -- --all
 # check out /tmp/log.txt for changes overview ...



More information about the grass-commit mailing list