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

Re: Make output from hooks visible

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2006-03-30 01:59:49 CEST

Kristis Makris wrote:
> Yes. Yes! It is a request to make a hooks stdout output back to the
> client, **while the hook is executing**. The stderr "sounds like" it
> should also be propagated to the client. In the particular bug
> referenced above, we are observing a deadlock, and there is no output
> from the hook yet, so we could determine where exactly in the hook the
> deadlock occurs.

In order to do this kind of debugging, you don't need the output to be
channelled back to the client. The person debugging a hook script needs to be,
or needs to work with, the repository administrator, so you can make the hook
script send its error output and/or progress reporting to a file (for example)
instead of to the "stderr" stream.

- Julian

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 30 02:00:18 2006

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

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