I have the Bitnami Trac Version installed: Trac 1.0.10 Webserver: Apache 2
It is hostet on a Virtual Machine. Git is also installed there.
My Repository is a "Server" Repository on another Server, so TortoiseGit can't do a push/fetch/pull there. I created a local Repository on my Virtual Machine where I cloned my "Server" Repository.
I make a change in my source code and commit it to my local machine. Then I push it to the "Server" Repository and fetch the new information on the Virtual Machine Repository where Trac is installed.
On Trac I enabled the "tracopt.ticket.commit_updater.*" and added these lines in the "trac.ini" file:
commit_ticket_update_envelope =
commit_ticket_update_commands.close = close closed closes fix fixed fixes
commit_ticket_update_commands.refs = <ALL>
commit_ticket_update_check_perms = true
commit_ticket_update_notify = true
I also created a "post-receive.sample" hook with the following entries:
REV=$(git rev-parse HEAD)
trac-admin e:\bitnami trac stack projects\Prj changeset added "(Standard)" $REV
After I did these things i tried to commit a change with the comment like this: close #8. (Ticket 8 does exists and is not closed.)
Now to the problem: After i Commit, Push and Fetch the changes it doesn't closes the ticket. I hope you can help me