Switch to Branch is not working for me
-
Wednesday, October 05, 2011 4:04 PM
I have the following folders in TFS:
- $/back-end/Main
- $/back-end/Branches/B_RT61458$/back-end/Main is checked out to C:\TFS-Back-end\Main on my PC.
My Eclipse workspace has a project named "Back-end" that points to the folder C:\TFS-Back-end\Main.
In Eclipse I right-clicked on "Back-end", selected "Team > Switch to Branch...". From there I selected B_RT61458. No errors. I made a change to the file "Back-end/builder/build.xml". I checked in the pending changes.
At this point I was expecting the change to build.xml to have been committed to TFS at $/back-end/Branches/B_RT61458/builder/build.xml. This is not the case.
In Eclipse I right-click on Back-end/builder/build.xml and select "Properties > Team Explorer". I see Server Name is set to "$/back-end/Main/builder/build.xml" and Local Name is set to "C:\TFS-Back-end\Main\builder\build.xml". A peak at "$ > back-end > Branches > B_RT61458 > builder > build.xml" confirms that the build.xml file on the branch has not been modified.
Am I doing something wrong, or is this a bug?
I am using Eclipse Indigo, Team Explorer Everywhere 2010 plugin for Eclipse, Windows Vista SP2, and Team Foundation Server 2008.
- Edited by Stephen M Wick Wednesday, October 05, 2011 4:07 PM Misspelling
All Replies
-
Tuesday, October 11, 2011 9:34 PM
Hi,
The Switch to branch works like that it removes the mapping of the current project and mapps the selected branch to the same local folder as the first project. so Can you please confirm that this is what happened after doing the switch to branch. You can do manage workspaces, and double check which folder is mapped is it $/back-end/Main or $/back-end/Branches/B_RT61458. One more thing to verify, could you please check the logs, through going to Help menu, then select Team Explorer Support and make sure there is nothing there, may be some error is there but not displayed in an error dialog.
Please let me know what did you find?
Thanks
Mireille

