{"id":124,"date":"2005-04-03T20:30:04","date_gmt":"2005-04-03T20:30:04","guid":{"rendered":"http:\/\/localhost:8000\/?p=124"},"modified":"2005-04-03T20:30:04","modified_gmt":"2005-04-03T20:30:04","slug":"conversion-to-subversion-tags-revisited","status":"publish","type":"post","link":"https:\/\/blog.gwadej.org\/programmer-musings\/2005\/04\/conversion-to-subversion-tags-revisited\/","title":{"rendered":"Conversion to Subversion: Tags Revisited"},"content":{"rendered":"<p>In <a target=\"_blank\" rel=\"noopener\" href=\"\/programmer_musings\/2005\/02\/conversion-to-subversion-tags\/\">Conversion to Subversion: Tags<\/a>, I explained how I cleaned up the tags portion of the CVS dump file in order to generate a subversion repository in the format I wanted. Lars Mentrup emailed to say that I had not been clear enough on a few points. After re-reading what I wrote, I have to agree.<\/p>\n<p>In the original article, I referred to working on <em>the initial copy from trunk<\/em>. This was obviously missing a subtle point. All of my changes started with the dumpfile that had been filtered to contain the project and tag entries. Given this filtered file, I was talking about the initial copy of the tags. This is the equivalent of<\/p>\n<pre><code>\ncp 'trunk' 'tags\/FIRST_RELEASE'\n<\/code><\/pre>\n<p>Now, I really did not want the entire tree copied to the <code>tags<\/code> directory, and I wanted the <code>tags<\/code> directory structured differently. So, I changed the equivalent of the above command to the equivalent of<\/p>\n<pre><code>\ncp 'project1\/trunk' 'project1\/tags\/FIRST_RELEASE'\n<\/code><\/pre>\n<p>Now the dumpfile has a large number of extraneous delete commands that are the equivalent of<\/p>\n<pre><code>\nrm tags\/FIRST_RELEASE\/project2\nrm tags\/FIRST_RELEASE\/project3\nrm tags\/FIRST_RELEASE\/project4\n...\n<\/code><\/pre>\n<p>Since I changed the initial copy, these are no longer needed. So, I just delete them from the dumpfile.<\/p>\n<p>The result of all of these changes is a single dumpfile with the &#8216;project1&#8217; project information and the &#8216;FIRST_RELEASE&#8217; tag information. I can use <code>svnadmin load<\/code> to load the project and its tags into the repository.<\/p>\n<p>Hopefully, this will clarify what I meant. Thanks again to Lars for taking the time to let me know where I was unclear.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Conversion to Subversion: Tags, I explained how I cleaned up the tags portion of the CVS dump file in order to generate a subversion repository in the format I wanted. Lars Mentrup emailed to say that I had not been clear enough on a few points. After re-reading what I wrote, I have to\u2026 <span class=\"read-more\"><a href=\"https:\/\/blog.gwadej.org\/programmer-musings\/2005\/04\/conversion-to-subversion-tags-revisited\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[100,321,359],"_links":{"self":[{"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/posts\/124"}],"collection":[{"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/comments?post=124"}],"version-history":[{"count":0,"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/posts\/124\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/media?parent=124"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/categories?post=124"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.gwadej.org\/programmer-musings\/wp-json\/wp\/v2\/tags?post=124"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}