Skip to content

Update TfsClientProvider.cs#4

Open
jmygind wants to merge 2 commits intokevincolyar:masterfrom
jmygind:patch-2
Open

Update TfsClientProvider.cs#4
jmygind wants to merge 2 commits intokevincolyar:masterfrom
jmygind:patch-2

Conversation

@jmygind
Copy link

@jmygind jmygind commented Apr 24, 2014

I ran into a case where the edit+rename flags where set on a file and the code crashed here. The above change fixed the problem. This was TFS 2008 and I think it happened because a folder was renamed and a file in the folder was deleted in the same change set.
One could possibly fix this more elegantly by executing the delete block before the rename block, but I fear this could have other consequences.

jmygind added 2 commits April 24, 2014 09:28
I ran into a case where the edit+rename flags where set on a file and the code crashed here. The above change fixed the problem. This was TFS 2008 and I think it happened because a folder was renamed and a file in the folder was deleted in the same change set.
One could possibly fix this more elegantly by executing the delete block before the rename block, but I fear this could have other consequences.
Same change as in the OpenTfsClient
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant