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

post-commit hook

From: Hao (Victor) Ren <ren_at_cs.toronto.edu>
Date: 2006-01-03 19:27:59 CET


I am using the subversion system to run tests (the user commits some
files (code for a program), and the server runs some tests on those
files). We are using Post-commit hook to start running the tests on the
server side. After the test are run, and some error log files are
generated to indicate that certain tests are not passed, (and the
following is the problem) the server is not able to commit those error
log files to the repository. So, now, we are not giving the user any
indications of what went wrong with the code. The reason is that all the
operations on the server side are called by the Post-commit hook, and
when the hook is called, the user is still connected to the repository.
So the server cannot commit any files to the repository, because the
user is still beening connected to the repository.

I understand that an alternative is to send out emails to the user, and
showing what when wrong. But due to various reasons, I do not want to
implement this feature.

So how to let the server side to commit to the repository when called by
the Post-commit hook from subversion repository?


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