Subversion Administration

From Elvanör's Technical Wiki
Jump to navigation Jump to search

This article is a tutorial to Subversion repository administration.

Design choice: repository setup

You can choose to have one repository per project, or only one single repository containing each project in a separate directory. The single repository setup is easier, but the inconvenient is that the revision number will go up for some projects that did not undergo any changes (if some other projects are updated).

Importing projects

While doing the initial import, remember that if you specify a path, only its contents will be added, thus, if you want to actually add the directory, remember to do a svn mkdir first.

This is not the case when you do an initial checkout of a project.

Tips & Hints

  • Subversion does password caching by default, so don't be surprised if you are not asked for a password after the first time.
  • There is a list of patterns (for example, *.o files) that are automatically ignored by svn. This is done client-side and can be modified by the client configuration files.

Useful links

Subversion book