[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: Miha Vitorovic <mvitorovic_at_nil.si>
Date: Tue, 6 May 2008 14:14:11 +0200

Hooks have no environment. The system does not know where to find 'cat'
(or 'echo' for that matter). Use '/bin/cat' or '/bin/echo' instead.

Br,

---
  Miha Vitorovic
  Inženir v tehničnem področju
  Customer Support Engineer
   NIL Data Communications,  Tivolska cesta 48,  1000 Ljubljana,  Slovenia
   Phone +386 1 4746 500      Fax +386 1 4746 501     http://www.NIL.si
Marc Haisenko <haisenko_at_comdasys.com> 
06.05.2008 11:52
To
users_at_subversion.tigris.org
cc
"Puneet Lakhina" <puneet.lakhina_at_gmail.com>, "Anthony Lieuallen" 
<arantius_at_gmail.com>
Subject
Re: post-commit hook completely fails
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
---------------------------------------------------------------------
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 14:14:37 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.