Source Control Explorer Shows Pending Changes, But

2019-02-19 00:34发布

In TFS Source Control Explorer it shows pending changes(edit,[more]) with my name, But In

Pending Chages window does not showing any pending changes.

What I thought is, Months ago my Visual Studio was crashe(at that time some files are

checked out, which i was not aware of that , due to automatic checkout nature of TFS),

due to that I copied new VMImage, without undo the pending changes(which are showing

currently in Source Control Explorer). One of my team memberwants to chekin new version

of that particular file. Now I need to undo my pending chages.

标签: tfs
13条回答
我只想做你的唯一
2楼-- · 2019-02-19 00:58

I had the same problem, I re-started VS, opened the solution and all the changes are now being displayed in the pending changes window.

查看更多
小情绪 Triste *
3楼-- · 2019-02-19 01:01

sometimes I can not lock a branch because users have things checked out, but when I ask them about it, the pending merges/changes, only folders come up with no objects to change. What's with that?

查看更多
爷、活的狠高调
4楼-- · 2019-02-19 01:02
  • a different workspace on the same machine
  • a different workspace on another machine
  • TeamExplorer -> PendingChanges -> Excluded Changes ( I included this only because you didn't specifically mention they weren't there)
    • especially if you right clicked a node in solution explorer and chose check-in
  • Filtered based on TeamExplorer Settings @Oliver
  • Use a Tfs Query to find the pending changes and what workspace they are pending from.

Another option is to permanently or temporarily give them permissions to overwrite your lock. Then he can check-in anyhow.

查看更多
不美不萌又怎样
5楼-- · 2019-02-19 01:03

Get your changed files check out for edit

查看更多
欢心
6楼-- · 2019-02-19 01:04

It sounds like you have them checked out under a different workspace. Try going to View->Other Windows->Source Control Explorer, then open the Workspace dropdown near the top of the screen, and select "Workspaces..."

I would suggest simply deleting any extra workspaces shown.

查看更多
一纸荒年 Trace。
7楼-- · 2019-02-19 01:08

I have just had a similar issue in VS2012.

To resolve the issue, I toggled the "Show xxx" dropdown to "Show Solution Changes" and then back to "Show All". The files that were missing from the list then re-appeared.

enter image description here

查看更多
登录 后发表回答