locked
Using TF destroy to really remove a branch RRS feed

  • Question

  • I have a branch in TFS 2008 that I destroyed through the UI through the delete command (and I also checked it in).  When I refresh my screen, I don't see the branch at all but if I go to another branch and look at its properties, I still see it is there.  I need the branch permanently removed as dev said it is useless.  How can I permanently remove this?

    I have seen some blogs on using tf destroy but I can't figure out the syntax or where to run it from.  Here's the structure:

    $/Project A/Product B/Releases/Ver 72 (Ver 72 is the one I need to remove).

    What would be the syntax I would type in the command line?

    Thanks in advance.

    Thursday, August 26, 2010 7:31 PM

Answers

All replies

  • To use the destroy command, you must be a member of the Team Foundation Administrators security group.

    Click Start , click All Programs , click Microsoft Visual Studio 2008 , click Visual Studio Tools , and then click Visual Studio Command Prompt .

    tf destroy $/Project A/Product B/Releases/Ver 72;x123

    You have to mention deletion ID.(Replace 'x123' with deletion ID for above folder)

     

    • Edited by jehan33 Tuesday, August 31, 2010 2:51 PM
    • Proposed as answer by ASherrick Wednesday, February 13, 2013 3:37 AM
    Thursday, August 26, 2010 11:43 PM
  • Hi VSTf,

    You can perform the following command:

    tf destroy $/Project A/Product B/Releases/Ver 72 server:/http://servername:8080

    About TFS 2008  tf destroy, you can refer to http://msdn.microsoft.com/en-us/library/bb386005(v=VS.90).aspx

    Hope it helps!

    If you have any concern, please feel free to let me know!

    Best Regards,

    Cathy Kong

    Friday, August 27, 2010 9:06 AM
    Moderator
  • Hi VSTf,

    Is your issue solved?

    If you have any concern, please feel free to let me know!

    Best Regards,

    Cathy Kong

    Tuesday, August 31, 2010 9:21 AM
    Moderator