|This page is yet to be reviewed for changes required by the migration to Git. Information and commands on this page may no longer be valid and should be used with care. Please see the KDE Git hub page for more details.|
|This section needs improvements: Please help us to
cleanup confusing sections and fix sections which contain a todo
This tutorial is about what to do when you are a fresh owner of a new SVN account for KDE.
This tutorial assumes that you have applied for a KDE SVN account as described here and that you have received a positive answer with the information associated with your new account.
Now you have a KDE SVN account.
Please note that the answer email will have an explanation about how to use the account. (This explanation is also the file kde-common/svn/svn_instructions.txt.) It contains also topics not discussed here. So please read this email.
In case of conflicting instructions, please follow those of the email, not the ones of this tutorial.
Until now, you have worked with one of the anonymous SVN servers. Now that you have a KDE SVN account, you will not use that anonymous server anymore. Therefore the base URL to the SVN server changes for you.
For the standard anonymous SVN of KDE, it was: svn://anonsvn.kde.org assuming that you have not used an anonymous SVN mirror. If you have used another anonymous SVN server for KDE, then please use its URL instead.
|If you are unsure which SVN anonymous server you have used, use the svn info command to get the server URL.|
Now the new base URL for your access to the KDE SVN server will be:
where username is the name that was given to your KDE SVN account.
This only applies if you have local copies of SVN files that were taken from an anonymous SVN Server, otherwise skip this.
To use the KDE SVN server instead of one of the anonymous SVN servers, you need to tell each module of your local SVN copy that you want to change the server. SVN does this with the command
svn switch --relocate
Assuming that you are processing the kdelibs module, you have to use:
svn switch --relocate svn://anonsvn.kde.org/home/kde/trunk/KDE/kdelibs svn+ssh://firstname.lastname@example.org/home/kde/trunk/KDE/kdelibs
For other modules than kdelibs (or for branches or for tags), you have to change the relative module path; similarly, if you used another anonymous server.
Be careful on what URLs you type, as SVN will only replace the exact old URL by the exact new URL. So if you mistype one of the URLs, it will not work later. (If you have already fallen into this pitfall, it is not a problem, just use relocate again to replace the wrong URL with the right one.)
You will be asked to accept the SSL certificate on the first attempt to access the server.