I have been working on a bzr branch on a project. Now, this branch has to be put into svn cause that's what people are using.
I have read that you can use bzr push in order to put a branch into one SVN repo but the problem is that I have to rebase what I did on an empty branch that has just been created (so, it has one "empty" commit in svn).
I did something like this. Assume the bzr branch is in directory bzr and the bzr checkout from the svn branch is in directory bzr-svn.
bzr branch bzr-svn test # create another branch to do the rewrite just in case
bzr merge -r 0..1 ../bzr # let's bring first revision of the project I want to put on top of the SVN branch so that rebase has one starting point
bzr commit -m "bring first revision of project to have one starting place"
bzr rebase ../bzr
This works almost perfectly, the problem is that what I end up having is a branch that looks like my project's bzr branch with the svn branch starting commit on top of it..... what I'd like to have is exactly this but with the svn commit at the bottom instead.