I am new to TFS, I have been mainly using Subversion. I am confused with the “mapping” concept. It looks like TFS maps a local folder to a source controlled folder. So every local change I make “automatically” gets added to source control???
I only ask b/c I am got the latest version of a project that was built using Visual Studio 2005, and I have Visual Studio 2010. So of course I have to convert it on my “local” folder, but the source folder already “sees” that I have made that change. I tried to undo pending changes, but the solution in source control still shows the VS2010 icon. Hopefully I did not change the solution for everyone else to VS2010 when I didn’t even commit any changes.
Is there a way to back out any changes?
No problem yeah getting used to TFS from VSS, Subversion or any other tool can be tricky.
Mapping allows you to, as you guessed, map a sourced folder to a local folder.
It doesn’t work quite like that. TFS will only control files that you have explicitly added to source control. So, for instance, if you add 50 files inside of a folder you have mapped in TFS, you will not have those automatically added in Source control. You can though add them in if you want.
There are some exceptions to this though but even when TFS picks up a file it will ask you before adding it to source control (example being websites- it will detect a new file and ask if you want to add to source control).
How that icon shows is based on your locally installed tools and how you associate the sln to your VS version. Don’t worry about that icon. If you didn’t checkin an upgraded version of the sln by going through the upgrade wizard then checking that into TFS you don’t have a problem here.