[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: post-commit hook completely fails

From: Marc Haisenko <haisenko_at_comdasys.com>
Date: Tue, 6 May 2008 11:52:24 +0200

On Tuesday 06 May 2008, Puneet Lakhina wrote:
> You could do a simple
>
> $ cat "I am running" >> /somewriteableDirectory/postcommitop.txt
>
> in your hook file and see if the file gets this line. This will atleast
> assure that your hook file is running.

Please make that "echo" instead of "cat" :-) I doubt there's a file called "I
am running" around ;-)

BTW, for such debugging I do things like this:
$ date >>/tmp/debug.log

That way I not only know it happened but also when.
        Marc

-- 
Marc Haisenko
Comdasys AG
Rüdesheimer Str. 7
80686 München
Germany
Tel.: +49 (0)89 548 433 321
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-05-06 11:52:53 CEST

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.