Search code examples
svntrac

Connection trac with svn


I am trying to connect Trac with svn. I would like to make a link in trac ticket while committing so if I am working with ticket #3 then svn commit -m "RE #3" should automatically appear in ticket.

Actually when I make commit it's going into repository but it doesn't appear in Ticket #3 on Trac. Part of my trac.ini:

[repositories]
.alias = main
main.description = G�^�ówne repozytorium
main.dir = /home/svn/vlex_repo
main.hidden = true
main.type = svn

I also have:

[components]
tracopt.ticket.commit_updater.committicketreferencemacro = enabled
tracopt.ticket.commit_updater.committicketupdater = enabled

What should I add in trac.ini to make it usable?


Solution

  • Take a look at the CommitTicketUpdater page.

    Which Trac version are you running? You probably need to disable per-request synchronization and enable explicit synchronization.