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

Re: Pre-commit hook

From: Nicolai Scheer <scope_at_planetavent.de>
Date: Fri, 10 Jul 2009 19:50:09 +0200

Hi!

Scott Vickery schrieb:
> I have a process in place that sanity checks SQL scripts. The user can
> take a list set of scripts which are then run against a series of
> databases to see if they run. The user is given feedback as they run.
> If the scripts fail, the user is told which database the script failed
> against.
>
> I want to put that process in place as pre-commit hook. So far so
> good. But, I would like to provide real time progress to the user that
> did the commit.
>
> Any ideas on how I could pull this off? AFAIK, the pre commit hook is
> only run on the server, and, there is no way for the user to see it.
> Correct?

As far as I know there is no possibility to pass intermediate output to
the svn client during a commit. But you can just collect the data and
return it at the end of the pre-commit-hook (in case the
pre-commit-hook fails).

Greetings,

Nico

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2369884

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-10 19:52:35 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.