You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2012/04/18 20:35:53 UTC

svn commit: r1327613 - /ofbiz/trunk/tools/git-rebase-runner.sh

Author: doogie
Date: Wed Apr 18 18:35:53 2012
New Revision: 1327613

URL: http://svn.apache.org/viewvc?rev=1327613&view=rev
Log:
Add an example and a bit of documentation to git-rebase-runner.

Modified:
    ofbiz/trunk/tools/git-rebase-runner.sh

Modified: ofbiz/trunk/tools/git-rebase-runner.sh
URL: http://svn.apache.org/viewvc/ofbiz/trunk/tools/git-rebase-runner.sh?rev=1327613&r1=1327612&r2=1327613&view=diff
==============================================================================
--- ofbiz/trunk/tools/git-rebase-runner.sh (original)
+++ ofbiz/trunk/tools/git-rebase-runner.sh Wed Apr 18 18:35:53 2012
@@ -22,6 +22,21 @@
 #  $1 = loop count
 #  $2 = loop type
 
+# example:
+#  git rebase -i $most_recent_git_svn_commit_hash
+#  # select commits to work on/test with 'edit'
+#  tools/git-rebase-runner.sh 5 all-tests
+#
+#  this will do:
+#   ant clean
+#   ant load-demo
+#   ant run-tests
+#   ant clean
+#   git rebase --continue
+#  in a loop 5 times, storing the output into runtime/git-rebase/logs.
+#  You can use this to verify a series of commits before commiting
+#  upstream in bulk with git svn dcommit $hash
+
 top_dir="$(cd "$0/../..";echo "$PWD")"
 . "$top_dir/tools/functions.sh"