I tried a bunch of things but ended up just pulling the svn repo from scratch again and manually applying the changes before pushing to a new github repo. The problem I was getting was that any git svn fetch/rebase would end up trying to replay things back and forth.
Quick summary of what I tried first (This did NOT do what I wanted. Would be helpful if someone pointed out where I went wrong)
svn co http://repo/source/branches/branch
git init
git add .
git remote add origin [email protected]:user/repo.git
changes made
git add .
git commit -a
git push origin master
Above is what I had done prior to starting this experiment.
git svn clone http://repo/source/branches/branch
git remote add origin [email protected]:user/repo.git
git pull origin master
git diff
git commit -a
This seemed to work. So I proceeded to try to get things up to date.
git svn fetch
git svn rebase
git pull origin master
git push origin master
This is when things started going egg shaped. I would get errors like the following.
a001:~/src/grr$ git svn rebase
First, rewinding head to replay your work on top of it...
HEAD is now at 09d15f4... Merged revisions 34908-34917 via svnmerge from 1.2-trunk
Applying fix url escape
Applying fix url escape
error: patch failed: app/code/core/Mage/Page/Block/Html/Head.php:132
error: app/code/core/Mage/Page/Block/Html/Head.php: patch does not apply
Using index info to reconstruct a base tree...
Falling back to patching base and 3-way merge...
No changes -- Patch already applied.
Eventually, I gave up and did the following instead.
git svn clone http://repo/source/branches/branch
git add .
git commit -a
git remote add origin [email protected]:user/repo.git
git push origin master