It might sound like a dumb question but I can't for the life of me find the answer to this one.
We have a project set up in Redmine and linked to an SVN repository. Everything is working fine, but we recently did a repository relocation and we needed to update its Redmine repository path setting to point to the new repo.
The problem is that the option is grayed out and I can't change it. I suppose you could click on "Delete" and create a new one, but that option really sounds scary to try (the URL has the word /destroy/ in it!!) and I don't want to wipe out the repo. There's no reference I could find about this in the Redmine manual. What should I do?
Also --related to this-- do you know if all ticket references in old commits will still be pointing at the right places?
Create the bare repository Now go to your Redmine project settings, go to the repositories tab and choose git as the SCM, then put in the Path to repository (in our example this is /var/redmine/git_repositories/donebox. git/ ) and save the settings.
If you have installed it from source, the files go to the files directory in your Redmine directory.
From the project dashboard in Redmine, click the “Settings -> Repositories” tab and then click the “New repository” link. Select the “SCM” as “Git” and specify the path to the repository. In this example, the path will be /opt/bitnami/projects/test. Click “Create” to save your changes.
Ok, I figured out. I created a dummy project with a dummy svn repo to test, and finally clicked that dreaded "Delete" link. It turns out it only deletes a reference to the repository, not the repo itself.
It was an admittedly dumb question, but this should be documented on the Redmine manual :)
Another option could be by changing the values in 'repository' table. It works pretty well in case of repository relocation.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With