Junchen Liu
Junchen Liu

Reputation: 5614

Redmine and SVN integration

We use fairly up-to-date Redmine. We use the "# + Redmine number" to reference the Redmine number in the commit message each time after fixing a bug.

I open the Redmine ticket from the browser, no svn information is there. I expect that all the changes or code segments are displayed under that ticket, so I can clearly see which class is changed, and what the changes are.

My question is if this is possible in Redmine, and if yes how?

Upvotes: 3

Views: 8083

Answers (3)

Markedagain
Markedagain

Reputation: 106

Ok, it might not be so obvious, but I believe that this requires a cron to parse the SVN comments. If you don't setup the cron, it won't show up in the ticket after a commit is done until you actually go to the repository tab and load the svn with the comments. Once this is done, Redmine will have parsed the comments and you should see them in your tickets.

Upvotes: 1

bish
bish

Reputation: 3419

You can also remove all keywords and put a single star * into the field. Then you dont need a keyword in the commit message but only #issue like #1234. however when you change the keywords the changes are only used for new commits. To get them work for recent commits just remove and readd the repository in the projectsettings

Upvotes: 1

Noma4i
Noma4i

Reputation: 770

  1. Setup Repository section under Project Settings
  2. Setup keywords like fixes,closes,refs

After that your related commits will be shown under issue.

Try to read http://www.redmine.org/projects/redmine/wiki/RedmineRepositories

Upvotes: 7

Related Questions