Closed p3k closed 12 years ago
Could you try running with the --verbose flag and reporting back? It'd help see where the syntax error is raised at the very least.
this happens if a svn-branch has a "(" in the name. This can be solved if the commands "git branch --track..." and "git checkout..." are "("-saved.
line 234-247:
svn_branches.each do |branch| branch = branch.gsub(/^svn\//,'').strip if @options[:rebase] && (@local.include?(branch) || branch == 'trunk') lbranch = branch lbranch = 'master' if branch == 'trunk' run_command("git checkout -f \"#{lbranch}\"") run_command("git rebase remotes/svn/#{branch}") next end next if branch == 'trunk' || @local.include?(branch) run_command("git branch --track \"#{branch}\" \"remotes/svn/#{branch}\"") run_command("git checkout \"#{branch}\"") end
I almost completely missed this. In the future, please issue a pull request when you have a patch. It makes it a lot easier to keep track of things (and give proper attribution when merged).
Will do (pull requests). Thanks a lot!
Running
svn2git --rebase
on a previously converted repository of http://antville.googlecode.com/svn shows the following output:As far as I can see there is a branch juliette but not Juliette (with upper-case J).
What could be the reason for the Syntax error? Obviously the command itself does not fail, so can I ignore this?