Skip navigation

Resolving “Failed to get lock on destination repos” in svnsync

tl;dr

A stale lock is blocking svnsync — add --steal-lock to the command once you’re sure nobody else is accessing the repo.

If you are getting the following error during svnsync:

Failed to get lock on destination repos, currently held by 'computername:uuid'

There may be a stale lock left on the repository.

If you are sure — after waiting for a short while — that nobody is accessing the repository, you can override the lock by adding the --steal-lock parameter to the svnsync command.