{"id":559,"date":"2016-11-09T16:55:13","date_gmt":"2016-11-09T14:55:13","guid":{"rendered":"http:\/\/www.psinke.nl\/blog\/?p=559"},"modified":"2016-11-09T16:55:13","modified_gmt":"2016-11-09T14:55:13","slug":"how-to-fix-svn-not-able-to-update-or-clean-working-copy","status":"publish","type":"post","link":"https:\/\/www.psinke.nl\/blog\/how-to-fix-svn-not-able-to-update-or-clean-working-copy\/","title":{"rendered":"How to fix SVN not able to update or clean working copy"},"content":{"rendered":"<div class=\"afa2b3b851443650502c43e85c746c1f\" data-index=\"1\" style=\"float: none; margin:0px;\">\n<script type=\"text\/javascript\"><!--\r\ngoogle_ad_client = \"ca-pub-4223201538046844\";\r\n\/* standaardblok *\/\r\ngoogle_ad_slot = \"9522527129\";\r\ngoogle_ad_width = 320;\r\ngoogle_ad_height = 50;\r\n\/\/-->\r\n<\/script>\r\n<script type=\"text\/javascript\"\r\nsrc=\"http:\/\/pagead2.googlesyndication.com\/pagead\/show_ads.js\">\r\n<\/script>\n<\/div>\n<p>Past week, it happened twice to me that SVN was not able to update. When updating or committing, the message &#8220;Previous operation has not finished; run &#8216;cleanup&#8217; if it was interrupted&#8221; appears. But when I cleaned my working copy, that failed too.<\/p>\n<p>For fixing this issue, install<a href=\"http:\/\/www.sqlite.org\/download.html\"> SQLite (download it here)<\/a>. Go to your SVN working directory, you&#8217;ll find a wc.db (the database where SVN keeps it&#8217;s date) in the .svn directory.<\/p>\n<p>run the command<\/p>\n<pre>sqlite \/pathto\/wc.db \"select * from work_queue\"<\/pre>\n<p>You&#8217;ll probably see some records containing filenames you just touched. The records can be safely deleted. Run this:<\/p>\n<pre>sqlite \/pathto\/wc.db \"delete from work_queue\"<\/pre>\n<p>And you&#8217;re good to go! It&#8217;ll probably save you the trouble of deleting your working copy and checking it all out again.<\/p>\n<!--CusAds0-->\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>Past week, it happened twice to me that SVN was not able to update. When updating or committing, the message &#8220;Previous operation has not finished; run &#8216;cleanup&#8217; if it was interrupted&#8221; appears. But when I cleaned my working copy, that failed too. For fixing this issue, install SQLite (download it here). Go to your SVN&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[121],"tags":[444,445,399,443],"class_list":["post-559","post","type-post","status-publish","format-standard","hentry","category-tips-and-tricks","tag-cleanup","tag-cleanup-fails","tag-svn","tag-working-copy"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/posts\/559","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/comments?post=559"}],"version-history":[{"count":1,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/posts\/559\/revisions"}],"predecessor-version":[{"id":560,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/posts\/559\/revisions\/560"}],"wp:attachment":[{"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/media?parent=559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/categories?post=559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.psinke.nl\/blog\/wp-json\/wp\/v2\/tags?post=559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}