In TFS 2010, if I use TFSDeleteProject to delete a branch, will that affect the main project? Anything to be concerned about there?
Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should not use TFSDeleteProject to delete a branch. That will remove the entire project. Unless you mean that you branched into a different project, and that’s the project that you’re removing.
If that’s the case, TFSDeleteProject will mark all of the source as deleted in the project, but will not remove it from source control. Your only risk would be if someone was able to merge all of those deletes down into the main project, which, once the TFSDeleteProject is completed, they should be unable to do from within the Source Code Explorer.