Reputation: 9282
How can I rename a branch in SVN through all revisions so that it looks like it always had the new name when checking the log?
I understand that there may be no SVN client command for this, but is there anything I could do on the server?
The reason for this is that I'd like to move to git and git-svn clone doesn't like a branch name like "Fix 1, 2 and 3" (I guess because of the comma).
Upvotes: 1
Views: 579
Reputation: 8958
To do that you may use "svnadmin dump" + edit dump (with own script or have a look at svndumptool.py) + "svnadmin load" combination. But this approach is not recommended, because you can get broken svn:mergeinfo and potentially may corrupt your repository.
So would also vote for "svn move" approach.
Upvotes: 0