This page contains instructions on how to configure the Crucible Subversion SCM plugin to access Subversion repositories.
![]() | Crucible SCM plugins superseded by Native Repository Access Crucible now ships with native repository access, which allows you to connect to repositories without a working version of FishEye. Crucible SCM plugins will still work, but we recommend that you stop using them in favour of native repository access. See What happens if I decide to stop using FishEye with Crucible? for instructions. |
On this page:
Setting Up a Subversion Repository in Crucible Alone
To set up Subversion in Crucible alone,- Start Crucible then open the 'Admin' menu by clicking the Administration link in the footer of the page.
- Under the 'Repository Settings' heading, click 'Repository List' in the left-hand navigation bar.
- The 'Repository List' screen opens.
- Find the SVN repository plugin and click its Configure Plugin link.
- The 'Configure Plugin' screen opens. Click 'Add Repository'.
The 'Add Repository' screen opens. Fill in the fields.
Field
What to enter
Name
Choose a unique name for the repository.
Repository Root
Enter the repository root URL for the repository. If you are not sure what the repository root is, please see the instructions below under "Finding your Repository Root".
Repository Path
Add the path on the base URL where your repository. For example, if you used the root URL above, and the full path to your Subversion instance is 'http://svn.example.com/svn5/', you would enter 'svn5' into this field.
SVN Username
Enter the username of the Subversion account that Crucible will use.
Note that this account should only have read-only access to the repository.SVN Password
Enter the password of the Subversion account that Crucible will use.
- Click 'Save'. The view will return to the list of repositories.
- Your Subversion repository is now set up for Crucible. You will be able to select changesets from it when creating reviews.
There is no 'initial scanning' required in this process, as Crucible's access to Subversion (when running alone) is strictly on-demand. Data is not cached, hence scanning is not required.
Finding your Repository Root.
Run the following command:
svn info SVN_URL
Where SVN_URL is the complete URL of the repository you want to add.
You will get something like the following:
>svn info http://svn.example.com/svn5/ Path: svn5 URL: http://svn.example.com/svn5/ Repository Root: http://svn.example.com/ Repository UUID: ce062a09-193b-427a-a7b3-a85007076e5d Revision: 83 Node Kind: directory Last Changed Author: ryan Last Changed Rev: 83 Last Changed Date: 2009-05-07 10:48:41 +1000 (Thu, 07 May 2009)
Next to "Repository Root" is the URL you should define as your repository root. The path will be whatever is remaining.