{"id":384,"date":"2004-03-17T02:23:55","date_gmt":"2004-03-17T07:23:55","guid":{"rendered":"http:\/\/blogs.law.harvard.edu\/hoanga\/2004\/03\/17\/managing-multiple-cvs-branches-under-1"},"modified":"2004-03-17T02:23:55","modified_gmt":"2004-03-17T07:23:55","slug":"managing-multiple-cvs-branches-under-1-dir","status":"publish","type":"post","link":"https:\/\/archive.blogs.harvard.edu\/hoanga\/2004\/03\/17\/managing-multiple-cvs-branches-under-1-dir\/","title":{"rendered":"Managing multiple CVS branches under 1 dir"},"content":{"rendered":"<p><a name='a340'><\/a><\/p>\n<p>\nI&#8217;m not a hardcore CVS user yet.  I&#8217;m slowly getting there with tracking like 10-15 open source projects in CVS.  (Need to start seeing about code reviewing more).  However, one of the things that has puzzled me was how to hold onto seperate branches in CVS so I could compare 2 branches in a simple fashion.  Here&#8217;s one way that I think I&#8217;ll be doing.\n<\/p>\n<p><em><\/p>\n<p>\nJust do:<br \/> <br \/>\n<code><br \/>\ncd kdeedu\/kvoctrain<br \/>\ncvs tag -b make_it_cool<br \/> <br \/>\n<\/code>\n<\/p>\n<p>\nThe &#8216;-b&#8217; option makes the tag a branch (i.e., allows further independent<br \/>\ndevelopment under that tag).  Then you can do &#8216;cvs co -r make_it_cool<br \/>\nkdeedu\/kvoctrain&#8217;.\n<\/p>\n<p>\nThen, you might want to rename the kvoctrain directory, if you want multiple<br \/>\nbranches under the same kdeedu dir.  For example, I have kdeedu\/kstars_head,<br \/>\nkdeedu\/kstars_3_2_BRANCH, and kdeedu\/kstars_gl.\n<\/p>\n<p><\/em><\/p>\n<p>\nMany kudos to the KDE Edu group (which I sometimes track the ML) for pointing out a very useful methodology that I&#8217;ve not been able to find in any CVS manuals or books online.<br \/>\n<br \/>\n<a href=\"http:\/\/article.gmane.org\/gmane.comp.kde.education\/718\/match=+make+cool\"><br \/>\nLink to Post<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;m not a hardcore CVS user yet. I&#8217;m slowly getting there with tracking like 10-15 open source projects in CVS. (Need to start seeing about code reviewing more). However, one of the things that has puzzled me was how to hold onto seperate branches in CVS so I could compare 2 branches in a simple [&hellip;]<\/p>\n","protected":false},"author":704,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1212],"tags":[],"class_list":["post-384","post","type-post","status-publish","format-standard","hentry","category-tagme"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/384","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/users\/704"}],"replies":[{"embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/comments?post=384"}],"version-history":[{"count":0,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/posts\/384\/revisions"}],"wp:attachment":[{"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/media?parent=384"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/categories?post=384"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/archive.blogs.harvard.edu\/hoanga\/wp-json\/wp\/v2\/tags?post=384"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}