Re: [trac] trac-post-commit-hook does not work
- From: Peter Jordan <usernetwork@xxxxxxxx>
- Date: Fri, 13 Nov 2009 09:52:47 +0100
Peter Jordan, Fri Nov 13 2009 08:38:54 GMT+0100 (CET):
Hello,
I use trac/svn on debian lenny. I've installed the trac-post-commit-hook script from the src package to /usr/local/bin/trac-post-commit-hook, but it does not work.
Assume rev2 has the following commit message:
Uploaded interfaces (closes: #1).
When I run
/usr/bin/python /usr/local/bin/trac-post-commit-hook -p /srv/trac/project1 -r 2
as root (so there is no permission issue) neither an error is given nor the ticket #1 will be closed.
Can someone help me?
Ok, the solution is simple:
The format of the commit message has to be "closes #1" not "closes: #1".
PJ
--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
- References:
- [trac] trac-post-commit-hook does not work
- From: Peter Jordan
- [trac] trac-post-commit-hook does not work
- Prev by Date: asterisk-1.6.2 broken on debian squeeze
- Next by Date: Re: Connecting a video camera
- Previous by thread: [trac] trac-post-commit-hook does not work
- Next by thread: asterisk-1.6.2 broken on debian squeeze
- Index(es):
Relevant Pages
|