[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

From: Paul Koning <pkoning_at_equallogic.com>
Date: 2006-01-03 20:36:56 CET

>>>>> "Andy" == Andy Berdan <berdandy@gmail.com> writes:

 Andy> Or, you may be able to perform a commit without a watchdog, if
 Andy> you spawn another process from the script (using, say, "bash
 Andy> /usr/local/bin/my_commit_script.sh&"). I'm not 100% sure on
 Andy> this, though.

That should work.

 Andy> In addition, you may want to use the post-commit hook return
 Andy> value to invalidate the faulty commit (if you aren't already).

You can't do that. Post-commit doesn't have any such notion. The
commit is done and is valid by the time post-commit runs.

       paul

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Jan 3 21:13:33 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.