Change repository SCM (it's currently disabled)
Hi there. First of all great job on the Redmine project. I've just migrated from Trac.
I haven't used any SCM before so I'm configuring Subversion for some of the projects.
I noticed that once the subversion option is selected and a URL is entered, both fields become disabled (Settings, Repository).
My idea was to possibly migrate to Mercurial in the future. How easy is to change the SCM on an existing project?
I'm attaching a screen shot to better demonstrate my question.
redmine.png - Screenshot (6.8 KB)
RE: Change repository SCM (it's currently disabled) - Added by Jean-Philippe Lang almost 13 years ago
Just click 'Delete' (on the right). This will remove all the changesets that were previously loaded in the db (not the repository itself).
Then you can attach a new repository (svn or mercurial...) to your project.
Great, thanks for the pointer Jean-Philippe. Again, thanks for all the work done on Redmine. You and all the contributors created a superb application.
When someone in the team forgets to mention "IssueID #xxx" in the commit text, we manually add the link between the commit and the issue directly from Redmine, opening the "commit" page, and clicking "Add" in the "Related Issues" section.
Now, I am trying to migrate the git repository from a path to another, but doing "delete" and then "add" (with the same repository name and a different path) loses all the links between the commits and the issues that were made clicking "Add" in the commit's page in Redmine.
Am I doing something wrong?
RE: Change repository SCM (it's currently disabled) - Added by Jan Niggemann (redmine.org team member) over 8 years ago
You posted to a thread that's been dormant for 4 years, please open a new one.
Thank you for the tip. Discussion continues here: Change Repository URL without losing manual-added commit-....