Difference between revisions of "SVN Access"
m (→How To: Gain Access To SVN Repository On Windows) |
|||
| (2 intermediate revisions by the same user not shown) | |||
| Line 19: | Line 19: | ||
## Port: 7822 | ## Port: 7822 | ||
## Protocol: SSH | ## Protocol: SSH | ||
| − | ## Saved Sessions: | + | ## Saved Sessions: GrowSVN |
## Connection->Data->auto-login username: oshroth | ## Connection->Data->auto-login username: oshroth | ||
## Connection->SSH->preferred protocol: 2 | ## Connection->SSH->preferred protocol: 2 | ||
| Line 33: | Line 33: | ||
Assuming that PuTTY will handle your SSH connections, you should use the following repository URL to connect to the SVN repository: | Assuming that PuTTY will handle your SSH connections, you should use the following repository URL to connect to the SVN repository: | ||
<blockquote> | <blockquote> | ||
| − | svn+ssh:// | + | svn+ssh://GrowSVN/trunk |
</blockquote> | </blockquote> | ||
| Line 43: | Line 43: | ||
[Note that TortoiseSVN defaults to using PuTTY to handle your SSH connections. During installation, TortoiseSVN registers itself as a handler for the svn+ssh protocol, and by default it calls upon an application called TortoisePlink (which is based on PuTTY) to deal with the SSH connection. This application uses the profile/session settings created by PuTTY, and this whole process is usually invisible to you.] | [Note that TortoiseSVN defaults to using PuTTY to handle your SSH connections. During installation, TortoiseSVN registers itself as a handler for the svn+ssh protocol, and by default it calls upon an application called TortoisePlink (which is based on PuTTY) to deal with the SSH connection. This application uses the profile/session settings created by PuTTY, and this whole process is usually invisible to you.] | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
To start working with SVN (initially): | To start working with SVN (initially): | ||
# Right-click a folder that you want to add to version control and select SVN Checkout... | # Right-click a folder that you want to add to version control and select SVN Checkout... | ||
| − | # Enter svn+ssh:// | + | # Enter svn+ssh://GrowSVN/trunk |
# Click OK | # Click OK | ||
| − | # You | + | # You may receive an warning about a non-empty folder, click OK |
# Once the checkout finishes, click OK | # Once the checkout finishes, click OK | ||
| − | |||
| − | |||
Latest revision as of 01:55, 15 January 2014
How To: Gain Access To SVN Repository On Windows
Requires:
- PuTTY & PuTTYgen
- TortoiseSVN
- Your Private Key
- Run PuTTYgen
- Click Conversions->Import Key...
- Navigate to and select your private key
- Click Actions->Save Private Key
- Save the putty private key file somewhere
- Close PuTTYgen
- Run Putty and make a new session:
- Hostname: 75.98.165.66
- Port: 7822
- Protocol: SSH
- Saved Sessions: GrowSVN
- Connection->Data->auto-login username: oshroth
- Connection->SSH->preferred protocol: 2
- Connection->SSH->Auth->private key file: path\to\privatekey.ppk
- Click "Save" on the sessions panel to save this config.
- Click Open to test your session.
The following window should appear if the test was successful:
If an error message appears, double check all your details are correct and try again. If the problem persists contact Tim.
Assuming that PuTTY will handle your SSH connections, you should use the following repository URL to connect to the SVN repository:
The easiest way to test that you have the correct URL format is to attempt the following:
- Right-click on any Windows folder and choosing TortoiseSVN->repo-browser.
- Input the URL as described above
- Attempt to browse the repository. If everything is correct you will be able to browse it without receiving error messages.
[Note that TortoiseSVN defaults to using PuTTY to handle your SSH connections. During installation, TortoiseSVN registers itself as a handler for the svn+ssh protocol, and by default it calls upon an application called TortoisePlink (which is based on PuTTY) to deal with the SSH connection. This application uses the profile/session settings created by PuTTY, and this whole process is usually invisible to you.]
To start working with SVN (initially):
- Right-click a folder that you want to add to version control and select SVN Checkout...
- Enter svn+ssh://GrowSVN/trunk
- Click OK
- You may receive an warning about a non-empty folder, click OK
- Once the checkout finishes, click OK
