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

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Feb 12 11:26:14 PST 2019


Author: martinl
Date: 2019-02-12 11:26:13 -0800 (Tue, 12 Feb 2019)
New Revision: 74086

Modified:
   grass-addons/tools/svn2git/3-rewrite-messages.sh
Log:
svn2git: fix rewrite tool to process all repos

Modified: grass-addons/tools/svn2git/3-rewrite-messages.sh
===================================================================
--- grass-addons/tools/svn2git/3-rewrite-messages.sh	2019-02-12 18:19:59 UTC (rev 74085)
+++ grass-addons/tools/svn2git/3-rewrite-messages.sh	2019-02-12 19:26:13 UTC (rev 74086)
@@ -14,10 +14,11 @@
         echo $b
         git checkout $b
         git filter-branch --msg-filter "python  $SCRIPTPATH/rewrite.py" -- --all
-        check out /tmp/log_touched.txt and /tmp/log_untoched.txt for changes overview ...
-        mv /tmp/log_touched.txt log_${repo}_${b}_touched.txt
-        mv /tmp/log_untouched.txt log_${repo}_${b}_untouched.txt
+        mv /tmp/log_touched.txt ../log_${repo}_${b}_touched.txt
+        mv /tmp/log_untouched.txt ../log_${repo}_${b}_untouched.txt
     done
+
+    cd ..
 }
 
 rewrite_msg "grass"



More information about the grass-commit mailing list