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

svn commit still holds locks when server-side post-commit runs

From: Markus Kuhn <Markus.Kuhn_at_cl.cam.ac.uk>
Date: Thu, 04 Sep 2008 15:24:02 +0100

I am using svn 1.4.4 (SUSE Linux 10.3) with a server-side post-commit
hook script that (under some circumstances) calls an svn update in the
same working directory in which I executed the svn commit. In that case,
I get an error message from the svn update, complaining that it cannot
acquire locks on the working directory.

Shouldn't "svn commit" have released all its locks on the working
directory by the time the post-commit script is executed on the server?

After all, the commit is over now, and all the "svn committ" command
still needs to do is to wait on any error messages that might still be
coming in from the post-commit script.

Or have the completion of the commit and the completion of the
post-commit hook script been lumped together into the same protocol
message?

Markus

-- 
Markus Kuhn, Computer Laboratory, University of Cambridge
http://www.cl.cam.ac.uk/~mgk25/ || CB3 0FD, Great Britain
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-09-04 16:24:29 CEST

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.