I have a very similar setup and I just went through the a few days ago. Now that you have made an SVN check-in that has the appropriate key words in it to make the trac-post-commit do it's thing: Find what change set number that was (for my examples, I am assuming 5432). >From the command line in the the SVN\hooks directory try to see what the following command does: post-commit D:\SVN 5432
I spent some time with this, turning "echo on" and adding some "echo" statements to the .bat and .cmd files to see where things where going, and what was being passed to the next piece. Taking a look at what I finally changed, the only things I can recommend are: * Checking trac-post-commit-hook.cmd that the three configurable values are set correctly (first pass I had the drive letter wrong for Trac). * Even if you don't think you need it, set PYTHON_PATH, for SVN may be running under a different PATH setting then you expect. On Jul 11, 1:06 pm, Sparky12 <[email protected]> wrote: > Hi Guys, > > I have set everything up - and when I run the "post-commit.cmd" - I > get no errors at all using Windows Vista, VisualSVN, TortiseSVN and > Trac. > > I have three files in my d:\svn\hooks file (D:\ is not windows drive) > > post-commit.bat - %~dp0\trac-post-commit-hook.cmd %1 %2 > trac-post-commit-hook.cmd - > perhttp://svn.edgewall.com/repos/trac/branches/0.11-stable/contrib/trac-... > trac-post-commit-hook > -http://svn.edgewall.com/repos/trac/branches/0.11-stable/contrib/trac-... > > And all follow the exact instructions etc. > > My problem is - that Trac does not update tickets after I submit a > commit and I cannot figure out why ? I turned Logging on in Trac - and > when I run the post-commit.cmd script from the hooks folder I get the > line below, but no tickets update? > > Trac[svn_fs] DEBUG: Subversion bindings imported > > Does anyone have any ideas how I can somehow figure out why its not > updating Tickets from the SVN ? No errors are generated and the > Tickets just don't update? > > Please help! --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
