Change repository SCM (it's currently disabled)

Added by Steven Martins over 12 years ago

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)

Replies (5)

RE: Change repository SCM (it's currently disabled) - Added by Jean-Philippe Lang over 12 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.

RE: Change repository SCM (it's currently disabled) - Added by Steven Martins over 12 years ago

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.

RE: Change repository SCM (it's currently disabled) - Added by Vito Marolda about 8 years ago

Hello,

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) about 8 years ago

You posted to a thread that's been dormant for 4 years, please open a new one.

(1-5/5)