Deleting a Subversion sync-lock

If svnsync gets behind, and issuing the command:

$ svnsync synchronize http://localhost/svn/repos

results in a message (10 times) that starts:

Failed to get lock on destination repos, currently held by …

Then, to correct the condition, issue the command:

$ svn propdel svn:sync-lock —revprop -r 0 http://localhost/svn/repos

Finally, reissue the original svnsync command.