Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I access the TFS workspace of an employee that has quit to review/check in some of the changes?

Tags:

tfs

workspace

One of my co-workers has resigned and was made to leave the premises before checking in all of his code to TFS. I have access to the physical files. Is there a way for me to access his workspace and check in some of the changes that are still left unchecked in? From tfs I can see which files he has checked out but no way of seeing the exact changes unless very manually.

like image 829
Fadeproof Avatar asked Nov 04 '08 12:11

Fadeproof


People also ask

What is the command line statement to edit workspace settings in TFS?

To make the current directory a working folder for an existing workspace on your computer, type tf workspace workspacename, where workspacename is the name of the existing workspace. The Edit Workspace dialog box appears.

What is TFS workspace?

You use the TFS workspace to map a local working folder on your PC to a Source Control Folder within a TFS project repository.


1 Answers

In TFS 2010, there is a new feature called 'Public Workspaces'. This allows multiple people to share the same workspace folders on a computer, but authenticating to TFS using their own logon.

A TFS administrator can change a workspace to a 'Public Workspace' by running a command like the following:

tf workspace /collection:http://yourserver:8080/tfs/yourCollection WorkspaceName;domain\CurrentWorkspaceOwner /permission:Public

(This command can be run on any computer, it doesn't need to be run on the same computer as the workspace you are trying to change)

If there is only one other user that needs to use the workspace, perhaps a simpler method is to just change the owner of the workspace. This can be done by a TFS administrator with the following command:

tf workspace /collection:http://yourserver:8080/tfs/yourCollection WorkspaceName;domain\CurrentWorkspaceOwner /newowner:domain\NewWorkspaceOwner

Once you have done either of these things, you can logon to that computer as the new owner and use the workspace as if it were your own.

You can read more about this feature in this blog post TFS2010: Public Workspaces.

like image 75
Grant Holliday Avatar answered Nov 07 '22 15:11

Grant Holliday