{"id":1649,"date":"2008-02-05T12:42:32","date_gmt":"2008-02-05T10:42:32","guid":{"rendered":"http:\/\/mummila.net\/nuudelisoppa\/?p=1649"},"modified":"2008-02-05T12:42:32","modified_gmt":"2008-02-05T10:42:32","slug":"solved-svn-working-copy-wp-contentthemesdefault-is-missing-or-not-locked","status":"publish","type":"post","link":"https:\/\/mummila.net\/nuudelisoppa\/2008\/02\/05\/solved-svn-working-copy-wp-contentthemesdefault-is-missing-or-not-locked\/","title":{"rendered":"Solved: svn: Working copy &#39;wp-content\/themes\/default&#39; is missing or not locked"},"content":{"rendered":"<p>I ran into this problem when trying to upgrade several of my WordPress-powered blogs through Subversion. The cause was that I had replaced the default theme directory with a copy of my working theme, due to the <a href=\"http:\/\/mummila.net\/nuudelisoppa\/?p=1064\">&#8216;reverts to default&#8217; bug<\/a> which, by the <a href=\"http:\/\/wordpress.org\/search\/revert+to+default+theme?forums=1\">look of things at WP&#8217;s support forum<\/a> as well as my own experience, is still alive and well.<\/p>\n<p>The default theme is part of the svn repository and svn expects to find its own data on the current status of the files, but a copy of my own theme doesn&#8217;t have the data, so it complains about the <q>missing or not locked<\/q> working copy. The solution is to delete the default theme directory based on my own, then do a <code>svn up<\/code> to fetch a copy of the original default, then do a copying-over: <code>cp -r <em>my-working-theme<\/em>\/* default\/<\/code><\/p>\n<p>Now the working copy of the default looks like my own, yet is seen by svn so that a <code>svn sw http:\/\/svn.automattic.com\/wordpress\/tags\/2.3.3\/<\/code> (or whatever the new version is) is possible. Note that editing <code>style.css<\/code> is required to tell the default apart from the actual working theme. I also like to use the screenshot of the original default to make it stand out when the working theme once again gets replaced by the default.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I ran into this problem when trying to upgrade several of my WordPress-powered blogs through Subversion. The cause was that I had replaced the default theme directory with a copy of my working theme, due to the &#8216;reverts to default&#8217; bug which, by the look of things at WP&#8217;s support forum as well as my [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[9387,30,26],"class_list":["post-1649","post","type-post","status-publish","format-standard","hentry","tag-blog","tag-bugsglitches","tag-open-source"],"_links":{"self":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/1649","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/comments?post=1649"}],"version-history":[{"count":0,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/posts\/1649\/revisions"}],"wp:attachment":[{"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/media?parent=1649"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/categories?post=1649"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mummila.net\/nuudelisoppa\/wp-json\/wp\/v2\/tags?post=1649"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}