Home » Support » Index of All Documentation » Wing IDE Reference Manual » Revision Control Systems »
12.1. Configuring Subversion
Installing Subversion
On Windows: Download from http://subversion.tigris.org/ and add installation location to PATH environment variable from the Advanced tab of the System control panel
On Linux/Unix: Install Subversion from using the packages that came with your Linux/Unix distribution or download from http://subversion.tigris.org/ and build from sources.
Subversion with SSH
First time configuration: Install and configure SSH as described earlier (this also loads authentication information into the cache for the current session)
To check out a repository: Type svn checkout svn+ssh://hostname/path/to/repository. If you're not sure what to check out try this first: svn list svn+ssh://hostname/
Future sessions require: On Windows, double click on your private key file and enter your pass phrase, or on Linux/Unix, run ssh-add and enter your pass phrase. Then run Wing with a project where the Enable Revision Control property is set in the Extensions tab of Project Properties and Subversion is selected as the revision control system.
Subversion with http/https or file URLs
To check out a repository with http or https, type svn checkout http://hostname/path/to/repository. If you're not sure what to check out try this first: svn list http://hostname/
To check out a repository with file: URLs, type svn checkout file:///path/to/repository You will be prompted for your user name and password, which will be cached by Subversion for future sessions.
Future sessions require: Run Wing with a project where the Enable Revision Control property is set in the Extensions tab of Project Properties and Subversion is selected as the revision control system.
Subversion without Authentication Cache
If you are using Subversion with http, https, or file access method and authentication cache disabled, you will need to go into the Options in the SVN menu in Wing (after enabling Subversion for your project) and select Manual (from Wing) for the Authentication option. This will prompt you for a user name and password the first time each repository is used in a Wing IDE session and sends them to Subversion with the --username and --password command line arguments, along with no-auth-cache so that your entries are never cached on disk.
Creating a Repository or Importing a New Project
If you do not yet have a Subversion repository, please refer to the Subversion Book or use the Subversion Cheat Sheet as a guide.
In short: You will need to create a repository with svnadmin create, import a directory with svn import, then check out your imported directory to another location on disk with svn checkout.
If you are working with file URLs (the repository is on the same machine as your checked out code) be sure to keep the repository and checked out code in separate places on disk.
| « 12.0. Configuring SSH | Table of Contents | 12.2. Configuring CVS » |
