[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: Hao (Victor) Ren <ren_at_cs.toronto.edu>
Date: 2006-01-03 20:54:33 CET

I am currently using Windows XP, and I am not sure how to use watchdog
on windows systems.

Also, all the tests are run by having my Post-Commit Hook (my hook is a
batch file) calling/spawning some other script files (in my case, a
Makefile). My hook currently update the files on the server, and then it
calls some testing code to test the files, and the testing code will
attempt to commit the error log files. So spawning another process does
not seem to be working. Does spawning another process mean calling
another batch file or Makefile from my hook?

any other ideas?


Paul Koning wrote:

>>>>>>"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:39:43 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.