[GRASS-SVN] r74098 - grass-addons/tools/svn2git
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Feb 17 07:55:08 PST 2019
Author: martinl
Date: 2019-02-17 07:55:08 -0800 (Sun, 17 Feb 2019)
New Revision: 74098
Modified:
grass-addons/tools/svn2git/1-migrate-core.sh
grass-addons/tools/svn2git/3-rewrite-messages.sh
Log:
svn2git: note how to rewrite history starting with given sha
Modified: grass-addons/tools/svn2git/1-migrate-core.sh
===================================================================
--- grass-addons/tools/svn2git/1-migrate-core.sh 2019-02-17 15:54:04 UTC (rev 74097)
+++ grass-addons/tools/svn2git/1-migrate-core.sh 2019-02-17 15:55:08 UTC (rev 74098)
@@ -4,7 +4,7 @@
DIR=$1
rm -rf $DIR
- cp -r grass-fetch $DIR
+ cp -ra ${DIR}-fetch $DIR
cd $DIR
# Create local branches
Modified: grass-addons/tools/svn2git/3-rewrite-messages.sh
===================================================================
--- grass-addons/tools/svn2git/3-rewrite-messages.sh 2019-02-17 15:54:04 UTC (rev 74097)
+++ grass-addons/tools/svn2git/3-rewrite-messages.sh 2019-02-17 15:55:08 UTC (rev 74098)
@@ -3,6 +3,9 @@
SCRIPT=`realpath $0` # realpath is a separate package and doesn't need to be installed
SCRIPTPATH=`dirname $SCRIPT`
+# Note: range can be applied by
+# ... -- 244063d26e4d541039e4af7ab7191801591ebce8..HEAD
+
rewrite_msg() {
repo=$1
More information about the grass-commit
mailing list