When trying to merge some changesets in TFS 2008 we get the error message
Title When trying to merge some changesets in TFS 2008 we get the following error message: Language en-US
SymptomsWhen trying to merge some changesets we get the following error message:
-----------------
Error
No matching items found in $/THOR/Tags/COLA_Beta_20090320_C47800 at the specified version
CauseThis issue happens when we rename the middle folder. For an example, we created a folder A with a file X and then created a branch of Folder A with the name B.
After that, we create a branch of branch B with the name C and we make a change in file X in folder and check the file in. After checking we merge the changes into branch B and once we rename branch B to any other name(say, for an instance BRenamed), the issue get reproduced and we get the above mentioned error message.
Resolution To resolve above mentioned scenario, we need to use the tf merge command from command line with /recursive keyword, as there is no way to specify the old name of the source branch from the UI, but we can from the TF merge command line.
For an example:
tf merge /version:C54288~C54288 $/THOR/Tags/COLA_Alpha_20090320_C47800 $/THOR/Tags/COLA_Gamma_20091009_C47800 /recursive