tags:

views:

233

answers:

1

I'm trying to add the following folder tree to TFS:

C:\TFS\folder1
C:\TFS\folder1\folder2
C:\TFS\folder1\folder2\folder3
C:\TFS\folder1\folder2\folder3\test.txt

In the above example the folder "C:\TFS" is a mapped TFS working folder. I issue the following commands from the console:

cd C:\TFS
tf add folder1 /recursive

After this command has finished my repository contains the following tree (as pending changes):

$/folder1
$/folder1/folder2

As you can see "folder3" and the text file "test.txt" below are completely missing! Why?

Update: I've submitted this as a bug to Microsoft:

http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=423279

A: 
Preet Sangha
Well, it doesn't for me! Did you set your working directory to "C:\Temp"? No matter what I try, tf.exe only adds two levels.
LeonZandman
I think so -if you look above I did a "cd test". Temp is in the workspace. Also like I said I've tried it from Temp directory too. The same results. Just a thought I'm use TFS 2008 with VS2008 + Team Explorer 2008 SP1.
Preet Sangha
I used Team Explorer 2005 and 2008 (both latest service pack I think, although I will check that). I'm not sure about the TFS version, but I'll check that too.
LeonZandman