translated by Google

Machine-translated page for increased accessibility for English questioners.

Are you setting up a new repository?

Use a more modern versioning system instead of the obsolete SVN Git . We recommend basing the repository on the faculty GitLabu . In addition to a more convenient web interface, it offers Issues , Milestones and Wiki . See documentation .

A Subversion version control system is available for FI students. Users can set up a repository using application at the Faculty Administration FI.

Line client

A module is available on Unix machines subversion (or subversion-X.Y.Z with the currently installed version number). The basic command for managing the contents of the repository is svn . But first create a typical repository structure with these directories, eg in /tmp/project/ :

trunk /
will contain the current working copy of the project
tags /
is for storing consistent, significant versions of a project
branches /
used to store different branches of the project

Save your entire project in the directory trunk and the next call to the command svn import the whole structure into the repository:

$ svn import /tmp/project/${REPOSITORY_NAME}
Adding         project/trunk
Adding         project/branches
Adding         project/tags

If we want to start working with the repository, we first get the current working copy from the server (ie important because of the metadata that is added to each directory):

$ svn checkout${REPOSITORY_NAME} ~/project/
A    /home/xpepik/project/trunk
A    /home/xpepik/project/branches
A    /home/xpepik/project/tags
Checked out revision 1.

For further work with the repository has svn these parameters:

  • add
  • delete
  • copy
  • move
  • update

Example: we create a new file and assign it under the management of the versioning system:

$ cd ~/project/trunk/
$ vim Makefile
$ svn add Makefile

It is advisable to save changes in the working copy to the north:

$ svn commit
Adding         trunk/Makefile
Transmitting file data .
Committed revision 2.

Web client

A simple web client is available at the same address as the repository's full network name:${REPOSITORY_NAME}