Subversion Hints

Deleting a sync-lock

If svnsync gets behind, and issuing the command:

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

displays a message (10 times) that starts:

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

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.

Making a file executable

You committed a script (named somescript) to subversion, but forgot to make it executable. Here is how to make it executable:

$ svn propset svn:executable ON somescript