SVN Page: Difference between revisions
import>Am592 No edit summary  | 
				import>Am592  No edit summary  | 
				||
| Line 22: | Line 22: | ||
''ssl-client-cert-password = <the password Catherine gave you>''  | 
  ''ssl-client-cert-password = <the password Catherine gave you>''  | 
||
I'm not sure if you have to put your password there, but if you do, SVN won't prompt you for a password each time you try to use it.   | 
|||
I'm not sure if you can  | 
  |||
(3) I found it convenient to define an environment variable pointing to my SVN directory on the WWMM server:  | 
|||
''SVN=https://wwmm.ch.cam.ac.uk/svn/users/am592''  | 
|||
''export SVN''  | 
|||
You could just add those lines to your ''.bashrc'' file.  | 
|||
Now you are set.  | 
|||
== Headline text ==  | 
|||
Revision as of 16:51, 26 October 2006
Catherine suggested that we put all the bits and pieces we learn about SVN in one place. A jolly good idea as I do tend to forget about things!
As a CVS user, migrating to SVN was not without it's hiccoughs. Let's begin with some technical details:
Setting up your SVN details
(1) If you've got an account on the SVN server at WWMM, you should have a certificate file need by SVN to authenticate a session. Let's call this file svn_cert.p12. Place it in a convenient place, say, $HOME/certificates/
(2) Now edit the file $HOME/.subversion/servers It should contain the lines:
[groups]
wwmm = wwmm.ch.cam.ac.uk
[wwmm]
ssl-client-cert-file = $HOME/certificates/svn_cert.p12
ssl-client-cert-password = <the password Catherine gave you>
I'm not sure if you have to put your password there, but if you do, SVN won't prompt you for a password each time you try to use it.
(3) I found it convenient to define an environment variable pointing to my SVN directory on the WWMM server:
SVN=https://wwmm.ch.cam.ac.uk/svn/users/am592
export SVN
You could just add those lines to your .bashrc file.
Now you are set.