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

[PROPOSAL] post-commit should be able to report back to client

From: Joachim Durchholz <jo_at_durchholz.org>
Date: 2006-01-01 13:43:41 CET

Hi all,

I'd like to have the post-commit script's output reported back to the
client.
This would be useful if the post-commit script does things that may
fail.

Use case
--------
We're using SVN not just for versioning but also for rolling out html
and php files to a test server.
I.e. the post-commit essentially does an "svn export" to the directory
where the test server's Apache will look for it. "svn export" didn't
always work, mostly due to permission issues. However, the error
messages first got silently ignored (bad!), then logged to the system
log (not much better, since looking at it requires root privilege), and
we're finally considering writing the messages to a log file and mailing
it to the committer (still not optimum).
What we'd really like to have would be if the SVN client displayed the
error messages from the script, just as it displays messages from the
other hooks and from svnserve itself.

Anybody willing to second this?

This proposal has several tangents, but I wanted to check first whether
it is useful at all :-)

Regards,
Jo

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sun Jan 1 13:45:51 2006

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.