User Tools

Site Tools


svn

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
svn [2010/05/06 10:35] damirsvn [2010/05/06 10:50] damir
Line 141: Line 141:
 </code> </code>
  
-===== New Repository - Quick Guide =====+===== Personal Repositories ===== 
 + 
 +you can always create a personal repository in your homedir by doing: 
   - ssh into server: <code>ssh lth.epfl.ch</code>   - ssh into server: <code>ssh lth.epfl.ch</code>
-  - Create empty repository: <code>svnadmin create /svnlcm/<name_of_repository></code> (replace ''svnlcm'' with ''svnlth'', ''svnlicos'' as needed) +  - create an empty repository: <code>svnadmin create <name_of_repository></code>  
-  - From the client machine do a checkout, e.g: <code>svn co svn+ssh://lth.epfl.ch/svnlcm/<name_of_repository></code> +  - use the standard svn subcommands to checkout, list or commit to the repository 
-  - Copy or create files in this empty "local copy"+ 
-  - Add the new files to the repository: <code>svn add *</code> + 
-  - Commit (i.e., check in): <code>svn ci</code>+===== General Repositories =====
  
 +General repositories, that needs to be available under <code>ssh+svn://lth.epfl.ch/svn<LABNAME>/<REPOSITORY></code> can be created only by the System Administrators.\\
 +To create a general repository you need to send an email with these informations:
 +  - name of the repository
 +  - list of users that need access to it
 +  - visibility:
 +    - Private: The repository can be private (the only way to access it is through the svn commands)
 +    - Public: The repository can be accessed through the web interface 
  
 ===== Few general recommendations ===== ===== Few general recommendations =====
svn.txt · Last modified: 2012/02/17 15:54 by damir