On Sunday, July 19, 2015 at 4:36:06 AM UTC-7, David Cozens wrote:
>
> In /var/svn/repos/play/hooks created a file called *post-commit* with this 
> content
>
> #!/bin/shexport PYTHON_EGG_CACHE="/tmp"
> /usr/bin/trac-admin /var/trac/projects/play changeset added "$1" "$2"
>
>
> In the same place created *post-revprop-change* with this content
>
> #!/bin/shexport PYTHON_EGG_CACHE="/tmp"
> /usr/bin/trac-admin /var/trac/projects/play changeset modified "$1" "$2"
>
>
Consider using trac-svn-hook since it is generally more robust. It performs 
configuration error checking and creates a log in the environment logs 
directory.
http://trac.edgewall.org/browser/tags/trac-0.12.5/contrib/trac-svn-hook
 

>
> I Enable the CommitTicketUpdater and CommitTicketReferenceMacro in the 
> trac admin panel, and added the following to the [ticket] section of 
> trac.ini.
>
> commit_ticket_update_envelope = []
>
> commit_ticket_update_commands.close =
>
> commit_ticket_update_commands.refs = <ALL>
>
> commit_ticket_update_check_perms = true 
>
> commit_ticket_update_notify = true
>
>
"commit_ticket_update_envelope = []" requires that you use a message like 

Test commit hook [Refs #1].

If you don't want to wrap the token in an envelope, just use:

commit_ticket_update_envelope = 

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to