You would need to either come up with new syntax, or make something that
checks what path the commit is touching. Either should be pretty easy if you
read the code of the hook script.

--Noah

> -----Original Message-----
> From: [email protected] [mailto:[email protected]]
> On Behalf Of marc.swingler
> Sent: Thursday, April 08, 2010 9:01 AM
> To: Trac Users
> Subject: [Trac] 2 Trac Servers, 1 SVN Server... Hook Script Madness
> 
> I have SVN setup with the post-commit hook script from Trac (as well
> as to my Hudson servers). Works beautifully. But today someone pointed
> out that some of our tickets are getting comments from developers
> working on unrelated projects. Turns out another team points to my SVN
> server for code shared with mine. So when they go and commit changes
> to our SVN server and specify a ticket# meant for their Trac instance
> in the comment, it goes to the my Trac server, not theirs. I can huff
> and puff all day about the fact that the devs on this other team
> shouldn't do that, but the fact is they do. Does anyone know of a
> modified post-commit hook script that could specify which Trac server
> to send the ticket update to?
> 
> --
> You received this message because you are subscribed to the Google
> Groups "Trac Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to trac-
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/trac-users?hl=en.


-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
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