You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by ricksterv <ri...@gmail.com> on 2007/09/25 22:47:33 UTC

post-commit - checking that it is executing

Hello Group

I have a post-commit script that I can run from the command line, but
it doesn't appear to be executing by SVN.
How can I check that it is being executed?

Thank you

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: post-commit - checking that it is executing

Posted by ricksterv <ri...@gmail.com>.
Great - thank you.


On Sep 26, 3:47 pm, "C. Michael Pilato" <cm...@collab.net> wrote:
> ricksterv wrote:
> > Hello Group
>
> > I have a post-commit script that I can run from the command line, but
> > it doesn't appear to be executing by SVN.
> > How can I check that it is being executed?
>
> Make it do something that persists outside the hook process.  My favorite?
> Adding a line like this:
>
>    echo "`date`: ${0} ran" >> /tmp/hooks.log
>
> --
> C. Michael Pilato <cm...@collab.net>
> CollabNet   <>  www.collab.net  <>   Distributed Development On Demand
>
>  signature.asc
> 1KDownload

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Re: post-commit - checking that it is executing

Posted by "C. Michael Pilato" <cm...@collab.net>.
ricksterv wrote:
> Hello Group
> 
> I have a post-commit script that I can run from the command line, but
> it doesn't appear to be executing by SVN.
> How can I check that it is being executed?

Make it do something that persists outside the hook process.  My favorite?
Adding a line like this:

   echo "`date`: ${0} ran" >> /tmp/hooks.log

-- 
C. Michael Pilato <cm...@collab.net>
CollabNet   <>   www.collab.net   <>   Distributed Development On Demand