Fix github-svn-mirror.sh trying to merge revisions twice

* Now starts merging at working copy revision + 1
This commit is contained in:
squeek 2014-12-10 00:24:08 -08:00
parent 4f67b3bcdc
commit 9b7ac77151

View file

@ -57,7 +57,7 @@ if [ $revisions_to_merge -le 0 ] ; then
exit 1
fi
revision_to_merge=$git_working_copy_revision
let revision_to_merge=$git_working_copy_revision+1
while [ $revision_to_merge -le $git_head_revision ]; do
commit_msg=$(svn log $git_location --xml -r $revision_to_merge | sed -n -e '/<msg>/,/<\/msg>/{ s/<msg>\(.*\)/\1/; s/\(.*\)<\/msg>/\1/; p; }')
commit_hash=$(svn propget git-commit --revprop -r $revision_to_merge $git_location 2>&-)