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

Re: Svn log inside a post-commit hook

From: John Peacock <john.peacock_at_havurah-software.org>
Date: 2007-11-10 01:30:27 CET

Harvey, Edward wrote:
> I bet the difference here is ... You're using a file:/// url, while I am
> using an http:// url. I think the root cause of the problem for me is
> still somewhere in the atomic lock, but you were able to work around it
> by using a different URL that bypasses locking.

Before the post-commit hook starts, the transaction is finished (that is why it
is called "post-commit"). Otherwise everyone else that is running a script that
accesses the repository in a post-commit hook would have the same problem (HINT,
they don't). ;-)

You might find this posting I wrote helpful:


There is something wrong with your post-commit script and the above should get
you started on debugging it...


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Sat Nov 10 01:30:35 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.