Whatsoever, my pre-commit hook works properly but my post-commit hook does not update the tickets at all without rising any errors...
I tried python -W to see if I could find something but nothing happened...
Any clue on how to debug the post-commit hook, had trace, etc.
Too bad for me, svn does not show stdin/stderr if everything is succesfull.
Thanks,
XTof
On 7/12/06,
Matthew Good <[EMAIL PROTECTED]> wrote:
On Wed, 2006-07-12 at 06:29 -0400, Aaron D. Marasco wrote:
> Markus Tacker wrote:
> > Interactivity is not possible with subversion hooks.
> Not directly, but you could scan it with a regex of some kind and if you
> don't see 'refs #' or 'closes #' then reject it with an error message
> saying that you need to include a ticket ref. I can check the server at
> work today, I know we have a script that can reject check ins if the
> file is binary but not 'svn-needs-lock' so it would be the same one...
I believe this is what the trac-pre-commit-hook does already.
--
Matthew Good <[EMAIL PROTECTED] >
_______________________________________________
Trac mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac
_______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
