Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TfsClientProvider.cs #4

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

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