Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

trunk - the remote repository's current, main revision of a project; usage of this term is only by convention as it usually just refers to a certain folder called trunk in the repository

revision - globally unique number in the repository starting with "r" that tags the entire state of the repository after a commit

...

^ - The "^" character can be used to specify the repository root for any command that accepts a Subversion URL.

Repository Structure

SVN Repositories may contain many code projects.

Ignoring Files

 

These could be separated by different folders in the repository under the root directory.

No Format
project1
project2
project3
[etc.]

Separate projects will typically have three directories.

No Format
project1
    trunk
    branches
    tags

trunk should contain the main development branch of the code.

branches contains development branches of trunk or another branch.

tags contains copies of the trunk that should not (really ever) be modified; typically, these are made when releasing software versions by a build tool or script.

SVN Client

The primary way to interact with a Subversion repository is through the svn command in a command terminal.

If you are using Linux or some other Unix this is almost certainly already installed for you.

Otherwise, you could try installing it (for Yum users).

Code Block
languagebash
themeMidnight
yum install subversion

You can also use Subversion plugins in IDEs like Eclipse and Netbeans.

Ignoring Files

You will probably Typically, you will want to configure the SVN client to ignore certain types of files that you might have in your working copy but do not want to be visible.

...