Laurence
Laurence

Reputation: 1020

TFS 2010 Source Control Explorer - annoyances coming from VSS

I am trying out TFS 2010 Source Control Explorer for managing some non-Visual Studio projects. Having previously used VSS, there are 3things I was expecting to be able to do which I can't:

1.Folder compare doesn't default to mapped local folder

Every time I right-click a server folder and do Compare, it requires me to enter the local folder path to compare to. What a pain! I have mapped the server folder to a local folder, so was expecting it to default to that.

2.Having opened a folder comparison, if I right-click a file that is different on disk, and check it out (intending to keep the local version then check it in) I get the error:

The item C:\inetpub\wwwroot...... could not be found in your workspace, or you do not have permission to access it.

I am running SCE as Administrator, and the file is not read-only, and is writable with other applications.

Also, there is no option (like in VSS) to not overwrite with latest version, so I fear that if the check-out did work, the above error indicates that SCE would overwrite the local file.

3.In the regular SCE window showing contents of a server folder, the option to Checkout For Edit is greyed out on all files. However, as mentioned above it is available through folder compare.

What am I missing?

Many thanks.

Upvotes: 0

Views: 2556

Answers (1)

Laurence
Laurence

Reputation: 1020

Figured it out .... Until you do a Get Latest/Specific version, none of the above 3 functions work (even if the file exists locally and is identical to the server version). Its like TFS has to know that you did get the file from its repository before it will cooperate!

As soon as you do this (and watch out because when you go the Get, there seems to be no option other than to overwrite the local file, so have a backup copy somewhere if they are different), then the 3 functions work:

  • Folder compare defaults to mapped local folder
  • Check out/in works from the folder compare window
  • Check out/in works from the explorer window

Upvotes: 2

Related Questions