]> git.ipfire.org Git - thirdparty/AWStats.git/commitdiff
More detail into git2vcs script
authorLaurent Destailleur <eldy@destailleur.fr>
Sat, 26 Jul 2014 14:53:01 +0000 (16:53 +0200)
committerLaurent Destailleur <eldy@destailleur.fr>
Sat, 26 Jul 2014 14:53:01 +0000 (16:53 +0200)
git2cvs.sh

index 37cb976233fcf1220723353e0767c855f55c105c..a5e40ed6cd28c23315d5d08a957dbdf1a83a4f52 100755 (executable)
@@ -7,12 +7,14 @@ cvs update
 #cvs udpate -C
 
 
-# Set here id of last commit
-export LASTINCLUDEDID=eea6adb633b5b055b663bafcfef6e8482aeedad4
+# Set here id of last commit found into git repo of awstats that were included into cvs
+export LASTINCLUDEDID=89ac100831d627ac012e4972af9cc572297de97d
 # Set here where is store git repository
 export GIT_DIR=/home/ldestailleur/git/awstats/.git
 
-
 # Commit 5 commits at once after last commit
-git cherry $LASTINCLUDEDID HEAD | sed -n 's/^+ //p' | head -n 5 | xargs -l1 git cvsexportcommit -c -p -v
+echo "git cherry $LASTINCLUDEDID HEAD | sed -n 's/^+ //p' | head -n 50"
+git cherry $LASTINCLUDEDID HEAD | sed -n 's/^+ //p' | head -n 50
+
+git cherry $LASTINCLUDEDID HEAD | sed -n 's/^+ //p' | head -n 50 | xargs -l1 git cvsexportcommit -c -p -v