Chapter 3
SVN Server

Sylvain Pion (Sylvain.Pion@sophia.inria.fr)

SVN (Subversion) is a popular version control system that keeps track of the complete history of changes for a set of source files. SVN is of great help when several people work on the same project.

You can find the SVN manual at http://svnbook.red-bean.com. Lots of documentation, including tutorials, can easily be found on the net.

The InriaGForge site http://gforge.inria.fr hosts a SVN server for CGAL. The complete documentation to access the CGAL project on InriaGForge is at http://www.cgal.org/Members/svn_cgal/. In a nutshell:

3.1   Structure of the repository

The CGAL repository, which is backed up daily, is organized in the following way:

The repository tree has the following structure:

   /svn/cgal
           |
           +---- trunk/
           |         |
           |         +--- Convex_hull_2/
           |         |     |
           |         |     |-- maintainer
           |         |     |
           |         |     |-- changes.txt
           |         |     |
           |         |     |-- TODO
           |         |     |
           |         |     +-- include/CGAL/
           |         |     |
           |         |     +-- src/
           |         |     |
           |         |     +-- doc_tex/
           |         |     |
           |         |     +-- test/
           |         |     |
           |         |     +--  ...
           |         |
           |         +--- Number_types/
           |         |
           |         +--- Cartesian_kernel/
           |         |
           |         +--- ...
           |
           +---- branches/
           |         |
           |         +--- CGAL-1-1-patches/
           |         |
           |         +--- ...
           |
           +---- tags/
                     |
                     +--- CGAL-1-0/
                     |
                     +--- ...

3.2   Access to the repository

Here are the access rules:

3.3   How to use it

After each commit, an automatic mail is sent to the cgal-commits@lists.gforge.inria.fr mailing-list which records the log message as well as the URLs to the corresponding diffs within the ViewCVS interface. Maintainers and developpers can subscribe to it in order to check what gets commited to their packages.