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

post-commit hook to send checkin mail

From: nikhil gupta <ng_g20_at_hotmail.com>
Date: 2007-08-16 14:25:55 CEST

Hi There,

We have added a post-commit hook to our repository which is hosted on Windows 2003. The hook is a .Net exe. This works fine for most of the times but when someone commits a large number of files (more than 100 files) at one go, it fails to send mail.

What happens is, it actually commits the files at the server but then shows a "time out" error at the client. The mail is not sent.

This leaves the client in unstable position. One needs to revert the changes in the WC & then take an Update... Had posted the same question to the group before and got to know that mod_dav_svn waits for the process to shut down before sending the signal to client.

I think that is the problem I have. Can there be any way to avoid this, I mean the signal to the client be sent before the post-commit completes?

If yes, then how? I need to implement the same in .bat or .vbs.

Any details in this regard will be helpful...


Windows Live Spaces is here! Itís easy to create your own personal Web site.
Received on Thu Aug 16 14:23:56 2007

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.