Search code examples
svnsubversive

Subversion Configuration


I've downloaded subversion server and client RPM's from Collabnet, and installed it. It was unpacked into opt/CollabNet_Subversion directory.

But when I try to run /bin/svn a message "this is not a working copy" is shown. I'm trying to find documentation onlyne, but it seems to be poor.

Must I make sth or run a script to configure it?

I'm a rookie in Subversion. Thanks for helping!

PS: System: Linux Suse 11.2 SVersion: 1.7.6-1


Solution

  • In order to use Subversion (or any version control software), you must:

    • Create a repository that will hold your files. (You use the svnadmin create command to do that.)
    • In another directory, you checkout from the repository to a working directory. You use the svn checkout command for that).
    • You do your work in your working directory
    • When you've completed your work, you commit or checkin your changes back into the repository. (You use the svn commit command for that).

    For creating the repository, take a look at Chapter 5 of the Subversion on line manual. Then, go through chapter #1 and chapter #2 to get the basic understanding how Subversion (and version control) works and use the repository you created to help you learn how to use Subversion.

    That will give you a general understanding you'll need. Once you get the basics out of the way, you can go through the rest of the book.