On Fri, Sep 11, 2009 at 10:37 AM, Olemis Lang <[email protected]> wrote:
> Hello !
>
> I'm trying to enable SVN post-commit hook via web admin . Server is
> Win2k3 + py 2.5 + trac 0.11.1
>
> I'm using repositoryhooksystem 0.1.1 . No matter how hard I click on
> enable check box, the hook's never enabled and the checkbox remains
> unchecked after the HTTP response is sent back to my browser. Nothing
> is reported in the log file and I can browse the source code , and so
> on (so should not be a problem with VCS connector or repos setup ;o)
>

Well there's something odd in here . I'm using Apache and post-commit
hook looks like :

{{{
#!/bin/bash

# trac repository hook system
C:\Program Files\Apache\2.2\bin\httpd.exe
e:\path\to\env\plugins\repositoryhooksystem-0.1.1-py2.5.egg\repository_hook_system\listener.py
-p E:\path\to\env --hook post-commit $2

}}}

I tried to change it like

{{{
#!/bin/bash

# trac repository hook system
C:\Program Files\Python\2.5\python.exe
e:\path\to\env\plugins\repositoryhooksystem-0.1.1-py2.5.egg\repository_hook_system\listener.py
-p E:\path\to\env --hook post-commit $2

}}}

however, after trying to apply changes , the file is rebuilt
automatically and replaces Python by Apache once again.

gggrrrrrr ... Looking forward to your comments | suggestions !

-- 
Regards,

Olemis.

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:
Introducción a la API de Google Analytics  -
http://feedproxy.google.com/~r/simelo-es/~3/iRzT5_lZg4c/introduccion-la-api-de-google-analytics.html

--~--~---------~--~----~------------~-------~--~----~
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