I am trying to setup trac-post-commit-hook in subversion.  After  I
execute 'svn commit -m 'Fixes #134' ', I don't see the ticket gets
updated (set the state to 'closed').



I check the path of 'svnlook' ,'python', 'trac-post-commit-hook', they
all look correct:
Can you please tell me what am I missing?

Here is my post-commit file in my subversion repository hook directory.
REPOS="$1"
REV="$2"
LOG=`/usr/local/bin/svnlook log -r $REV $REPOS`
AUTHOR=`/usr/local/bin/svnlook author -r $REV $REPOS`
TRAC_ENV='/srv/svn/tracenv/project/'
TRAC_URL='http://localhost://tracprojects/project/'

/usr/bin/python
/srv/svn/repositories/project/hooks/trac-post-commit-hook \
    -p "$TRAC_ENV"  \
    -r "$REV"       \
    -u "$AUTHOR"    \
    -m "$LOG"       \
    -s "$TRAC_URL"


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to