{"action":"created","issue":{"url":"https://api.github.com/repos/NuGet/Home/issues/1401","repository_url":"https://api.github.com/repos/NuGet/Home","labels_url":"https://api.github.com/repos/NuGet/Home/issues/1401/labels{/name}","comments_url":"https://api.github.com/repos/NuGet/Home/issues/1401/comments","events_url":"https://api.github.com/repos/NuGet/Home/issues/1401/events","html_url":"https://github.com/NuGet/Home/issues/1401","id":107157980,"number":1401,"title":"NuGet & TFS (TFS14092 - Pending Delete) on Update-Package -reinstall","user":{"login":"aosgo","id":9867956,"avatar_url":"https://avatars.githubusercontent.com/u/9867956?v=3","gravatar_id":"","url":"https://api.github.com/users/aosgo","html_url":"https://github.com/aosgo","followers_url":"https://api.github.com/users/aosgo/followers","following_url":"https://api.github.com/users/aosgo/following{/other_user}","gists_url":"https://api.github.com/users/aosgo/gists{/gist_id}","starred_url":"https://api.github.com/users/aosgo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aosgo/subscriptions","organizations_url":"https://api.github.com/users/aosgo/orgs","repos_url":"https://api.github.com/users/aosgo/repos","events_url":"https://api.github.com/users/aosgo/events{/privacy}","received_events_url":"https://api.github.com/users/aosgo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"zhili1208","id":7131513,"avatar_url":"https://avatars.githubusercontent.com/u/7131513?v=3","gravatar_id":"","url":"https://api.github.com/users/zhili1208","html_url":"https://github.com/zhili1208","followers_url":"https://api.github.com/users/zhili1208/followers","following_url":"https://api.github.com/users/zhili1208/following{/other_user}","gists_url":"https://api.github.com/users/zhili1208/gists{/gist_id}","starred_url":"https://api.github.com/users/zhili1208/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhili1208/subscriptions","organizations_url":"https://api.github.com/users/zhili1208/orgs","repos_url":"https://api.github.com/users/zhili1208/repos","events_url":"https://api.github.com/users/zhili1208/events{/privacy}","received_events_url":"https://api.github.com/users/zhili1208/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/NuGet/Home/milestones/21","html_url":"https://github.com/NuGet/Home/milestones/2.12","labels_url":"https://api.github.com/repos/NuGet/Home/milestones/21/labels","id":1343331,"number":21,"title":"2.12","description":"Servicing release for Visual Studio 2013, 2012, 2010","creator":{"login":"yishaigalatzer","id":1238711,"avatar_url":"https://avatars.githubusercontent.com/u/1238711?v=3","gravatar_id":"","url":"https://api.github.com/users/yishaigalatzer","html_url":"https://github.com/yishaigalatzer","followers_url":"https://api.github.com/users/yishaigalatzer/followers","following_url":"https://api.github.com/users/yishaigalatzer/following{/other_user}","gists_url":"https://api.github.com/users/yishaigalatzer/gists{/gist_id}","starred_url":"https://api.github.com/users/yishaigalatzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yishaigalatzer/subscriptions","organizations_url":"https://api.github.com/users/yishaigalatzer/orgs","repos_url":"https://api.github.com/users/yishaigalatzer/repos","events_url":"https://api.github.com/users/yishaigalatzer/events{/privacy}","received_events_url":"https://api.github.com/users/yishaigalatzer/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":13,"state":"open","created_at":"2015-10-07T19:40:13Z","updated_at":"2016-05-20T00:14:12Z","due_on":"2016-04-30T07:00:00Z","closed_at":null},"comments":22,"created_at":"2015-09-18T08:43:50Z","updated_at":"2016-05-24T16:15:20Z","closed_at":null,"body":"When doing a `Update-Package -reinstall`\r\n\r\ne.g. `Update-Package -reinstall angularjs`\r\n\r\nTFS throws TFS14092 for each file that is under source control e.g. scripts, images etc."},"comment":{"url":"https://api.github.com/repos/NuGet/Home/issues/comments/221323674","html_url":"https://github.com/NuGet/Home/issues/1401#issuecomment-221323674","issue_url":"https://api.github.com/repos/NuGet/Home/issues/1401","id":221323674,"user":{"login":"revel8n","id":6645843,"avatar_url":"https://avatars.githubusercontent.com/u/6645843?v=3","gravatar_id":"","url":"https://api.github.com/users/revel8n","html_url":"https://github.com/revel8n","followers_url":"https://api.github.com/users/revel8n/followers","following_url":"https://api.github.com/users/revel8n/following{/other_user}","gists_url":"https://api.github.com/users/revel8n/gists{/gist_id}","starred_url":"https://api.github.com/users/revel8n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/revel8n/subscriptions","organizations_url":"https://api.github.com/users/revel8n/orgs","repos_url":"https://api.github.com/users/revel8n/repos","events_url":"https://api.github.com/users/revel8n/events{/privacy}","received_events_url":"https://api.github.com/users/revel8n/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T16:15:20Z","updated_at":"2016-05-24T16:15:20Z","body":"Yes, that is about what i was thinking as well after i did a bit of looking through the source code.\r\n\r\nIt appears that Pending Deletes are skipped if the file does not exist in the file system, which is why everything worked when i deleted the files before trying to update.\r\n\r\ni am not sure if that is proper in all cases as it would mean if the files just happened to not be there already locally for whatever reason, removing the package without reinstalling it could leave the files in source control (if i am understanding the order of operations correctly).\r\n\r\nWhile searching i ran across similar issues with other projects (git-tfs) that had to interact with source control.  From their code it appears they made sure to get the current file from source control, before issuing the pending change to make sure the current file system was up to date.\r\n\r\nBut glad to see at least the initial cause has been found.\r\n"}}
{"actor":{"display_login":"revel8n"}}