Svn hook on commit makes lock

Posted by dynback.com on Server Fault See other posts from Server Fault or by dynback.com
Published on 2010-02-10T09:02:22Z Indexed on 2010/03/29 8:03 UTC
Read the original article Hit count: 133

Filed under:

My post-commit hook looks like this:

pushd C:\Websites\Project

svn update

I am updating my server copy of repository.

When I commit client stopped on sending content and locked or I dont know. Its is waiting for something. So when I cancel and try to update manually on server, I see:

Working copy "." lockedsvn

And only after manual cleanup and update again, I get updated revision, that was really commited.

What I do wrong?

© Server Fault or respective owner

Related posts about svn