I have a Ruby on Rails project that I am working on which uses SVN (1.6.17, Debian) for version control. Locally I am using Git (2.5.4, OS X) with git-svn and I have been working on a branch (called "ruby22rails42") for a major update to the project (using a new framework version) and regularly pulling in changes from SVN "trunk" to keep up to date with the project. Recently, I have created a mirror branch ("/branches/v8.5-ruby22rails42") on our online SVN server, pushed my local Git branch there and merged again with trunk for other developers to take a look.
Now I basically want "/branches/v8.5-ruby22rails42" to be the new trunk and keep the old SVN trunk as a versioned branch (let s call it "/branches/v8.4-ruby19rails3"). Unfortunately, svn merge --reintegrate seems to fail with "mergeinfo not supported" errors:
/opt/trunk$ svn merge --reintegrate ^/branches/v8.5-ruby22rails42 svn: Abfrage der Zusammenführungsinformationen wird von »file:///.../branches/v8.5-ruby22rails42« nicht unterstützt
Would a svnadmin upgrade fix this error? I do not want to update the SVN utilities on the server right now because the SVN repo is accessed by a lot of other tools too.
If not:
(How) can I just rename trunk both on the SVN server and my git-svn local repository and use my branch as the new trunk and so avoid the tedious merge process in SVN altogether? How would I tell my local Git repo to keep track of this renaming process? This may require all clients to discard local checkouts and re-check out the new trunk, but that would be acceptable.
If this is not possible or desirable, how do I avoid the mergeinfo error above using Subversion 1.6.17 and successfully merge my branch into trunk? I can then create a new branch from the last commit before the merge and keep this as my "v8.4-rails3ruby19" branch.