Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio TFS shows unchanged files in the list of pending changes

I see a file in pending changes window. I try to compare it with latest version and I get an a message 'The files are identical' If the files are identical why is this file showing up in pending changes window? What changed about this file? Can I configure TFS not to list files that are identical?

like image 846
dev.e.loper Avatar asked Nov 04 '11 15:11

dev.e.loper


People also ask

How do I get rid of pending changes in TFS?

To undo all changes you have made in your solution or a code project, open the context menu, and then choose Undo Pending Change. In the Undo Pending Changes dialog box, make sure the changes you want to undo are selected, and then choose Undo Changes.

How do I see pending changes in TFS?

Select that folder in TFS explorer and right click. you will see the option "Checkin Pending changes.." Show activity on this post. In the team explorer open up the source control tab, then right click on the route folder and select Check in Pending Changes.

How do I view pending changes in Visual Studio?

CTRL + [, P to get pending changes and if the file has been modified it will be in the list.


1 Answers

This is normal if a file becomes automatically checked out due to a change, and if ultimately the contents of the file are changed back to it's original state. At that point you would see the message about identical contents upon comparison.

This blog entry describes a not-so intuitive way of dealing with this; and in the comments there is an even better suggestion on dealing with it through the command line via TFS power tools.

TFS pending changes ignoring identical files...

like image 74
enablor Avatar answered Oct 22 '22 08:10

enablor