Skip to content
Snippets Groups Projects
Commit 4a5e42a4 authored by Axel Beckert's avatar Axel Beckert Committed by Claude Becker
Browse files

how_to_start_with_subversion: Add information about how to create SVN repos on group drives

parent 8c27c2f2
No related branches found
No related tags found
No related merge requests found
......@@ -6,10 +6,18 @@ While CVS is file based and sees no relationship between files except in which d
Another effect of Subversion's global view is, that also directories have revisions, that files can be moved around or copied with theirt whole history without fiddling around in the repository itself. Then also file properties (MIME type, svn:ignore for directories, arbitary, project-specific properties, etc.) are versioned in the repository, too.
==== Create a repository for your project ====
''svnadmin create /var/lib/subversion/[<group directory>/]<your project repository>''
If you collaborate within a group of people, all participants should have read and write access. Nobody else should have write access.
=== Create it on one of our group drives ===
If all your contributors do have a D-PHYS account and access to the same group drive, you can host your Subversion repository on that's group's drive. To allow it to be used on all our Linux workstations independent of the Subversion version being installed, you need to configure some backwards compatibility:
<code>ssh login.phys.ethz.ch svnadmin create --pre-1.5-compatible /home/<group name>/[<some optional path>/]<your project repository></code>
You then can always use ''svn+ssh://login.phys.ethz.ch/home/<group name>/[<some optional path>/]<your project repository>'' as URL for your repository.
=== Create it at the default location (if you are the server administrator) ===
<code>svnadmin create /var/lib/subversion/[<group directory>/]<your project repository></code>
==== Import project ====
''cd ..
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment