{"id":2135,"date":"2011-10-25T10:17:48","date_gmt":"2011-10-25T09:17:48","guid":{"rendered":"http:\/\/www.nivas.hr\/blog\/?p=2135"},"modified":"2011-10-25T10:18:52","modified_gmt":"2011-10-25T09:18:52","slug":"centralized-metadata-storage-in-tortoisesvn-v1-7","status":"publish","type":"post","link":"https:\/\/www.nivas.hr\/blog\/2011\/10\/25\/centralized-metadata-storage-in-tortoisesvn-v1-7\/","title":{"rendered":"Centralized Metadata Storage in TortoiseSVN v1.7"},"content":{"rendered":"<p>After installing update of <a href=\"http:\/\/tortoisesvn.net\/downloads.html\" target=\"_blank\">TortoiseSVN to version 1.7<\/a> the other day, I got pretty freaked out when TortoiseSVN asked me to update my local working copy of project I was working on to new file format and &#8220;make it unusable for older clients&#8221;.<\/p>\n<p>Since I love testing stuff, reinstalling os\u2019s and making my life miserable by pressing YES, OK and Continue without reading or thinking about it &#8211;  naturally, I performed the upgrade.<\/p>\n<p>Nothing happened at first and I continued working on project as usual. After few hours I needed to copy some folders from my project to another folder in the same project, and since I am used to have trillions .svn subfolders in each folder of my project, after copying data, I immediately went for deleting those .svn subfolders so I can commit the changes. But \u2013 there were NO .svn subfolders!! Why? Read on.<\/p>\n<p>Subversion 1.7 features a complete re-write of the working copy metadata management system of Subversion, code named WC-NG. A key feature of the changes introduced in Subversion 1.7 is the centralization of working copy metadata storage into a single location. Instead of a .svn directory in every directory in the working copy, Subversion 1.7 working copies have just one .svn directory\u2014in the root of the working copy. This directory includes (among other things) an SQLite-backed database which contains all of the metadata Subversion needs for that working copy.<br \/>\nThe process of upgrade itself is pretty easy and fast (well, depending on the size of your project that is):<\/p>\n<p>Step 1 &#8211; go for project update:<br \/>\n<img loading=\"lazy\" src=\"http:\/\/www.nivas.hr\/blog\/wp-content\/uploads\/2011\/10\/svn1.png\" alt=\"\" title=\"svn1\" width=\"372\" height=\"66\" class=\"alignnone size-full wp-image-2136\" \/><\/p>\n<p>Step 2 &#8211; Accept the file format upgrade:<br \/>\n<img loading=\"lazy\" src=\"http:\/\/www.nivas.hr\/blog\/wp-content\/uploads\/2011\/10\/svn2.png\" alt=\"\" title=\"svn2\" width=\"446\" height=\"300\" class=\"alignnone size-full wp-image-2137\" \/><\/p>\n<p>Step 3 &#8211; Take a coffee break while upgrade is being performed:<br \/>\n<img loading=\"lazy\" src=\"http:\/\/www.nivas.hr\/blog\/wp-content\/uploads\/2011\/10\/svn3.png\" alt=\"\" title=\"svn3\" width=\"416\" height=\"184\" class=\"alignnone size-full wp-image-2138\" \/><\/p>\n<p>Step 4 &#8211; Enjoy .svn-subfolder-less git style beauty.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After installing update of TortoiseSVN to version 1.7 the other day, I got pretty freaked out when TortoiseSVN asked me to update my local working copy of project I was working on to new file format and &#8220;make it unusable for older clients&#8221;. Since I love testing stuff, reinstalling os\u2019s and making my life miserable&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/2135"}],"collection":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/comments?post=2135"}],"version-history":[{"count":4,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/2135\/revisions"}],"predecessor-version":[{"id":2142,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/posts\/2135\/revisions\/2142"}],"wp:attachment":[{"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/media?parent=2135"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/categories?post=2135"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nivas.hr\/blog\/wp-json\/wp\/v2\/tags?post=2135"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}