I also setup a local synced repository that I use to get a local copy of our central project repository. However, last week I started by accident this repository server twice, and stopped the sync-run by ctrl-c to resolve this. After that I got a:
"Failed to get lock on destination repos, currently held by makker-laptop" message repeatedly.
I got the solution on: http://journal.paul.querna.org/articles/2006/09/14/using-svnsync/.
However the exact command mismatched for me (I don't know how version dependent that is).
What I had to do is to delete the lock by removing a lock-property. The command for this is:
svn propdel svn:sync-lock --revprop -r 0
In Pauls blog he suggested the svn-command propdelete, but this should be propdel. And I had to make up that for the repository you have to give in the link to the svnserver that runs the repository.
For example:
svn propdel svn:sync-lock --revprop -r 0 svn://localhost:3904
This worked, and got me syncing my repositories again.
No comments :
Post a Comment