views:

1976

answers:

4

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, linked to a SVN repository. Everything is working fine, but we recently did a repository relocation and we need to update the Redmine setting for it to point to the new repo.

The problem is, 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 sound 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 to this in the Redmine manual. What do I do?

Also --related to this-- do you know if all ticket references in old commits will be still pointing at the right places?

+6  A: 

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 :)

Danita
Agreed, I'd like to change that so you can edit the repository but when you try to save it, Redmine will prompt you "In order to change the repository information, your existing repository data will be purged and reloaded. [OK] [CANCEL]" or similar.
Eric Davis
+2  A: 

indeed, i just got stumped by the same dumb question. thanks. however it looks like the database information containing references to each commit in redmine is removed and then recreated as well. this can take a long time if your repository is large. (like the linux kernel)

+2  A: 

Another option could be by changing the values in 'repository' table. It works pretty well in case of repository relocation.

Vinod Singh
+1  A: 

Another option could be by changing the values in 'repository' table. It works pretty well in case of repository relocation.

I wouldn't recommend this unless you know for sure that they are exactly the same.


P.S. I just realized how old this question is, but I think it's still relevant.

Omni5cience
Yes, and Redmine is still our most useful tool next to TortoiseSVN :-)
Danita