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
Missing files in branches after git tfs clone #660
Comments
Indeed, that's not supported by git-tfs :( If that's not the case, everything change :( Could you explain me how you end up with a such case? how did you created it? |
Unfortunately i don't commit this ChangeSet so i have to try out how you can create such one. |
Ok. You can reproduce it with these steps:
|
If you like i can give you access to a VS Online TeamProject where i reproduce such a commit. |
If reproduce steps are as simple, I prefer reproduce the case on my TFS sandbox repository on codeplex. I let you know if I have problem to reproduce. That's just that I have to find time to work on that. |
@anrichter Could you test #663 that should solve your problem? |
Hm. Strange. When i freshly clone a repo with --with-branches your changes fixes my problem. I tried your changes based on the current HEAD of the main-branch. |
Can you describe a little more your case? Because it seems there is a little more than what you told me before... Where is the rename changeset situated? On the And when it don't work, what does contain the |
Hi @pmiossec, sorry for the confusion. I tried to reproduce the error today with a fresh clone and can't. Never mind i make a Thanks for your work! Greetings, |
No problem. I prefer that, rather than there is still a case not well managed. But I am happy not have worked on that yesterday ;)
But that's a quick and dirty fix and there is some more work to merge it in master. And the bad news is that I don't see how to make it cleaner :( |
Hi,
i have a strange error.
In one of our tfs repository is one changeset who renames a branch and add new files.
When i clone that repository and initialize the branches, i can get the renamed branch.
But the added files from the ChangeSet described above are missing in the git repository.
I checked that with git tfs version 0.20 and the current head of the main branch.
Maybe git-tfs detects a renaming branch ChangeSet and handle the renaming correctly but does not handle file add's in the same ChangeSet.
It would be cool, when someone can help me or can fix that issue.
Thanks for your work & Greetings,
Andreas
The text was updated successfully, but these errors were encountered: