[openbeos] FYI: Moving your subversion trunk from anonymous to developer

I figured I would post about this just in case someone else needs to
do this in the future. Here is the scenario:

You are a budding developer and are considering working on the Haiku
project. The first thing you do after setting up a fresh BeOS R5
install is download the Haiku SVN trunk anonymously from Berlios.
After looking around you decide to make some changes. Since you are
not a developer yet you email Axel a diff of your changes. If he is
pleased with your work he will make you a developer on the project and
thereby grant you access to commit to the repository. But when you try
to commit, svn complains you only have read-access with your URL.

Anyhow to make a very long story short, here is how you convert an
anonymously checked-out trunk to a developer one:

Assuming you've otherwise set up SSH and your original checkout used
the URL svn://svn.berlios.de/haiku/haiku/trunk (as shown in Axel's
newsletter article), you would cd into your trunk directory and type
(all on one line):

svn switch --relocate svn://svn.berlios.de/haiku/haiku/trunk
svn+ssh://svn.berlios.de/svnroot/repos/haiku/haiku/trunk

This basically alters your local copy to point to that new URL. You
can now submit your changes without having to re-checkout the whole
repo.

This might be nice to add to the FAQ or the developer pages.

Regards,
Ryan

Other related posts: