When I am in Source Control explorer for Visual Studio 2013, there is a "User" column which will show which users have a specific file checked out. This works fine if one user has the file checked out. However, if multiple users have the file checked out then the User column for the file will read as "Lastname, FirstName, [more]". How do I see who the [more] are?
Two ways I know of:
Use the commandline tool tf vc status instead of the UI.
Open the properties window of the file in question from the Source Control explorer.
Remember that the checkout status is only reliable when all your team members are using Server Workspaces. On a Local workspace it is not possible to check files out exclusively.
Related
I am working on a solution (a very big solution), and I want to check if I have left anything checked out. How do I see all the items I have checked-out?
And could you also tell me how to see all checked-out items by another user please.
simply pull up the pending changes window (View > Other Windows > Pending Changes) to see what files you have checked out!
http://msdn.microsoft.com/en-us/library/ms181395(v=vs.100).aspx
As for the other users, you would need to view the source control window to see who has checked out that file.
Simply go to View > Team Explorer then browse to the collection/project you are working on and double click on "Source Control" to open the source control explorer.
This then will show you the directory listing system where you can see who has checked out which file and what kind of check out.
also take a look at this: Can I check what files another person has checked out in Visual Studio 2010
I'm interested in seeing the latest changes that landed to a solution with TFS (I'm using Visual Studio). However, I can't seem to find the option: using View History on a solution or project brings up the history of the file itself. Am I missing something?
If you right click on folder the containing a solution in the Source Control Explorer window you'll see all changesets. It's obvious but I had to ask for it too. I am using TFS2010/VS2010.
Edit
Here are the steps:
Team/Connect to Team Foundation Server / select Team Project/ in Team Explorer dblclick on Source Control and in Source Control Explore right click folder containing your solution select View History and here you are.
The View History command will list you all the changesets where the file/directory was changed (add/move/content changed, deleted, etc.).
So if you do a View History on a .sln or .csproj file you'll see only the changes that were made inside the file's content, not on the "Visual Studio Item" and its related item.
To sum up, the View History command is only a File System history, there's not a smarter logic out there.
EDIT
The only way to know what changed inside a solution or project is to do a View History on the common denominator (i.e. the directory that contains everything you want to view history). But it'll still be a File System kind of History.
There's not Logical History for Solution and Projects in Visual Studio. For instance you can't know what files where added to a given project your viewing the history from two given versions. Or what projects were added/removed in the solution.
All the pieces are there (because all the changes are stored in the .csproj or .sln), but the feature itself that parses the content and retrieve the logic you want to see doesn't exist. (by the way, it's a great feature and I agree it should be there).
Bottom line: TFS/Visual Studio gives you two history system:
Based on the source control/file system, by displaying changesets.
Based on the source control/file system, by displaying labels.
That's all...
Right click on folder in solution explorer, and choose View History. Then you can see all the Changesets listed that apply to that directory. Then right click a particular changeset and choose Changeset details... to see what changes occurred in that changeset.
I installed the tfs 2010 in the my pc where I use VS2010 ultimate,
all my project group can chek-in without probleme (with the user icon) except me; when I check in the file will be locked (lock icon) !!
My files in project:
other pcs files :
The 'lock' that is shown in your first picture simply means that this file MainPanel.cs is checked in.Any other user should be able to check this out for edit.What you are showing in the second picture tells us that MainPanel.cs, along with all other files, is checked-out by another user. My guess is that there is simply another developer who has MainPanel.cs checked out.In order to find out who has what checked-out: Install latest TFS Power Tools, part of it is "Team Members". You can add there any Valid Team Project user and investigate her/his checkouts with "Show Pending Changes" :.Another note that might be relevant to your question:When you select to check out any file, it's possible to select out of three different lock types that influence what other devs can do with the sources you have checked out:
My boss has gone on holiday for 2 weeks, and fixed a problem before he left but didn't check it in. I have found one file on his computer that seems to fix the problem, but I want to know if he has anything else checked out in case it takes more than the one file for the fix. Without looking through all the files individually, is there a way so see what he as checked out (like the pending changes, but for another user)
Assuming you are using TFS. You can do this through visual studio.
Under source control explorer right click on the directory you are interested in.
Go to find in source control > Status then you can enter a user to search by or just click find and you will see all checkout files.
There must be a way to find out who checked out the file directly in Visual Studio without having to open the VSS client and navigate to the file.
Right?
Add the SourceSafe (Soure Control) toolbar to VS. Select a file in your source tree you want to know who has it checked out and from the toolbar choose the SourceSafe Properties Icon and look at the Check Out Status Tab. :)
When you attempt to check out a file and get the error dialog indicating that the file is already exclusively checked out, if you bring up the output dialog and switch to the source control view you should see a message indicating the user id of the user who has the file checked out.