{"id":208,"date":"2013-05-09T10:03:34","date_gmt":"2013-05-09T14:03:34","guid":{"rendered":"http:\/\/devopsny.com\/blog\/?p=208"},"modified":"2013-05-09T10:03:34","modified_gmt":"2013-05-09T14:03:34","slug":"svnsync-problems","status":"publish","type":"post","link":"https:\/\/devopsny.com\/blog\/2013\/05\/09\/svnsync-problems\/","title":{"rendered":"svnsync problems"},"content":{"rendered":"<p>I have a little cron job that syncs two svn repos. It runs every ten minutes. For some reason it stopped working so I killed the job. Now when I try to manually run the job, I get:<\/p>\n<pre>\r\nFailed to get lock on destination repos, currently held by...\r\n<\/pre>\n<p>Great, the sync is broken!<br \/>\nHere is how to clear it up. Use the following command to remove the lock:<\/p>\n<pre>\r\nsvn propdel --revprop -r0 svn:sync-lock file:\/\/\/path\/to\/the\/repository\r\n<\/pre>\n<p>This is the sync script:<\/p>\n<pre>\r\n#!\/bin\/sh\r\nsvnsync synchronize file:\/\/\/path\/to\/the\/repository --username svnuser --password svnpassword\r\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>I have a little cron job that syncs two svn repos. It runs every ten minutes. For some reason it stopped working so I killed the job. Now when I try to manually run the job, I get: Failed to get lock on destination repos, currently held by&#8230; Great, the sync is broken! Here is [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[39,16,48],"tags":[42,21,50,118],"class_list":["post-208","post","type-post","status-publish","format-standard","hentry","category-bash","category-linux","category-subversion","tag-bash-2","tag-linux-2","tag-subversion-2","tag-svnsync"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p3fcrv-3m","jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/posts\/208","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/comments?post=208"}],"version-history":[{"count":3,"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/posts\/208\/revisions"}],"predecessor-version":[{"id":211,"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/posts\/208\/revisions\/211"}],"wp:attachment":[{"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/media?parent=208"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/categories?post=208"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devopsny.com\/blog\/wp-json\/wp\/v2\/tags?post=208"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}