On Tue, Jan 16, 2007 at 10:20:29AM -0600, ying lcs wrote:
Emmanuel, I try your suggestions: $ svn commit -m "Fix #2. Switch to use relative path" Sending sample/changeToOffical.sh Sending sample/changeToStandAlone.sh Transmitting file data .... Committed revision 8. But when I go to Trac to view my Ticket, I don't see it assoicates my ticket with those changes. Can you please tell me how can I setup this hook script? and what is the name of the hook script.
For example here: /path/to/repository/hooks/post-commit: -----8<----- LOG=`svnlook log -r $REV $REPOS` AUTHOR=`svnlook author -r $REV $REPOS` TRAC_ENV='/path/to/repository/' TRAC_URL='https://trac.example.org/path/to/trac-env/' /path/to/repository/hooks/trac-post-commit-hook \ -p "$TRAC_ENV" \ -r "$REV" \ -u "$AUTHOR" \ -m "$LOG" \ -s "$TRAC_URL" -----8<----- Of course, you'll need trac-post-commit-hook, it's in the contrib directory of the sources, IIRC. Or somewhere at edgewall. HTH, Rainer --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
