XP-Dev.com Subversion Tutorial

  1. Create An Account
    • Register with us
    • The username and password that you've used to register will be your Subversion login credentials.
    • In this tutorial, we will register with the username "developer"
  2. Login
  3. Create a repository
    • Once logged in, click on the "Subversion" link on the menu.
    • Click on the "Create a new repository" link.
    • Enter a name for your Subversion repository. For this tutorial, lets call it "tutorial".
    • Click on the "Save" button
  4. Checkout your repository
    • You can use either one of the command line Subversion clients suitable for your operating system, or a graphical frontend like TortoiseSVN.
    • For this tutorial, we'll use the command line Subversion client.
    • Your subversion repository URL will be located at:
      https://svn.xp-dev.com/svn/<repository>
    • repository is always your username appended with the name you picked in step 3 above, like so:
      <username>_<your repository name>
    • For this tutorial, our respository will be located at:
      https://svn.xp-dev.com/svn/developer_tutorial
    • So, lets check out the repository into a folder called "tutorial":
      svn co https://svn.xp-dev.com/svn/developer_tutorial tutorial
    • If you're asked to provide a username and password, just supply the one you registered in step 1 above.
  5. Enjoy!
    • Now that you've checked out a fresh subversion repository, you're free to manipulate it in whichever way thats suitable to you.
    • All new repositories are empty, in the sense that there are no directories or files in them at all.
    • The usual "norm" is to create 3 top-level directories called "tags", "branches" and "trunk" at the highest level. But its really up to you!
    • It is your repository, and you're free to use it in anyway you like.
  6. Further Reading
    • If you're new to Subversion, it might be worth spending a little time running through some tutorials.
    • There are a number of tutorials that can be searched on Google.
    • If you need a concise reference book for Subversion, we highly recommend the free, online book "Version Control with Subversion".

If you need any help, please raise a support inquiry.