POKE ME for any consultancy

Friday, January 8, 2016

How can I resolve a Subversion svnsync lock?

Question:
Failed to get lock on destination repos, currently held by 'amitanand.com:d7283e06-08ca-479a-8de9-20467d191098'

svnsync: Couldn't get lock on destination repos after 10 attempts

Answer

You have to remove the lock property on the remote repository via svn command line on the remote site which has been left over from a failure during synchronization.
svn propdel --revprop -r0 svn:sync-lock file:///path/to/the/repository