{"id":2523,"date":"2007-03-30T21:09:06","date_gmt":"2007-03-30T21:09:06","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/buckh\/2007\/03\/30\/version-control-server-blog-orcas-destroy-feature-merging-with-labels\/"},"modified":"2007-03-30T21:09:06","modified_gmt":"2007-03-30T21:09:06","slug":"version-control-server-blog-orcas-destroy-feature-merging-with-labels","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/buckh\/version-control-server-blog-orcas-destroy-feature-merging-with-labels\/","title":{"rendered":"Version Control Server blog: Orcas destroy feature, merging with labels"},"content":{"rendered":"<p>The <a href=\"http:\/\/blogs.msdn.com\/tfsvcs\/\">Version Control Server blog<\/a> has shown some signs of life.&nbsp; Bill Tutt has written a couple of posts.&nbsp; The first one is about the Orcas version control feature that lots of customers have requested: destroy.&nbsp; The destroy command, which is only available from the tf.exe command line, will permanently remove the specified files and folders from your database (delete just hides them really).<\/p>\n<blockquote><p> <a href=\"http:\/\/blogs.msdn.com\/tfsvcs\/archive\/2007\/03\/23\/destroy-a-new-feature-for-orcas.aspx\">Destroy: A new feature for Orcas<\/a><\/p>\n<p>Destroy gives you the ability to permanently delete version control files\/folders from TFS.&nbsp; It can also be used to destroy the file contents while preserving the change set history.<\/p>\n<p><a href=\"http:\/\/blogs.msdn.com\/tfsvcs\/archive\/2007\/03\/23\/destroy-a-new-feature-for-orcas.aspx\">more&#8230;<\/a><\/p>\n<\/blockquote>\n<p>His second post covers subtle problem of performing a merge where one, or both, of the versions specified is a label (LsomeLabelName).&nbsp; While he doesn&#8217;t mention it in the post, specifying a workspace as the version to merge works the same way as specifying a label.&nbsp; In other words, just like you generally don&#8217;t want to merge using a label as the version, you also don&#8217;t want to use a workspace version specifier (W or WsomeWorkspacename;someOwner).&nbsp; The problem is that deleted files can&#8217;t be labeled, nor can they be in your workspace at the version they were deleted.&nbsp; This is in fact why merging always uses the latest version by default, rather than what you have in your workspace.<\/p>\n<p>If this all seems a bit arcane, just follow the simple rule of not merging using labels for the versions, unless you spend the time to really understand what you are getting.<\/p>\n<blockquote><p> <a href=\"http:\/\/blogs.msdn.com\/tfsvcs\/archive\/2007\/03\/22\/the-deceptive-allure-of-merging-with-labels.aspx\">The Deceptive Allure of Merging with Labels<\/a><\/p>\n<p>Labels are&nbsp;an interesting part of version control system. In version&nbsp;1 of TFS Version Control, labels do not contain deleted items.&nbsp; <\/p>\n<p><a href=\"http:\/\/blogs.msdn.com\/tfsvcs\/archive\/2007\/03\/22\/the-deceptive-allure-of-merging-with-labels.aspx\">more&#8230;<\/a><\/p>\n<\/blockquote>\n<p>tags: <a href=\"http:\/\/technorati.com\/tag\/tfs\" rel=\"tag\">tfs<\/a>, <a href=\"http:\/\/technorati.com\/tag\/team+foundation\" rel=\"tag\">team foundation<\/a>, <a href=\"http:\/\/technorati.com\/tag\/version+control\" rel=\"tag\">version control<\/a>, <a href=\"http:\/\/technorati.com\/tag\/orcas\" rel=\"tag\">orcas<\/a>, <a href=\"http:\/\/technorati.com\/tag\/destroy\" rel=\"tag\">destroy<\/a>, <a href=\"http:\/\/technorati.com\/tag\/labels\" rel=\"tag\">labels<\/a>, <a href=\"http:\/\/technorati.com\/tag\/merge\" rel=\"tag\">merge<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The Version Control Server blog has shown some signs of life.&nbsp; Bill Tutt has written a couple of posts.&nbsp; The first one is about the Orcas version control feature that lots of customers have requested: destroy.&nbsp; The destroy command, which is only available from the tf.exe command line, will permanently remove the specified files and [&hellip;]<\/p>\n","protected":false},"author":94,"featured_media":10268,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[6,8],"class_list":["post-2523","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-source-control","tag-team-foundation"],"acf":[],"blog_post_summary":"<p>The Version Control Server blog has shown some signs of life.&nbsp; Bill Tutt has written a couple of posts.&nbsp; The first one is about the Orcas version control feature that lots of customers have requested: destroy.&nbsp; The destroy command, which is only available from the tf.exe command line, will permanently remove the specified files and [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/2523","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/users\/94"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/comments?post=2523"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/posts\/2523\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media\/10268"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/media?parent=2523"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/categories?post=2523"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/buckh\/wp-json\/wp\/v2\/tags?post=2523"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}