“tf add /recursive”中是否有错误?
我正在尝试将以下文件夹树添加到 TFS:
C:\TFS\folder1
C:\TFS\folder1\folder2
C:\TFS\folder1\folder2\folder3
C:\TFS\folder1\folder2\folder3\test.txt
在上面的示例中,文件夹“C:\TFS”是映射的 TFS 工作文件夹。 我从控制台发出以下命令:
cd C:\TFS
tf add folder1 /recursive
此命令完成后,我的存储库包含以下树(作为待处理的更改):
$/folder1
$/folder1/folder2
正如您所看到的“folder3”和下面的文本文件“test.txt”完全丢失! 为什么?
更新:我已将此作为错误提交给 Microsoft:
http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=423279
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
来自微软的基本命令如下:
我输入了以下命令,它运行良好:
您从要复制文件的文件夹运行该命令,然后在“添加到位置”下的命令中输入目标
from microsoft the basic command goes as follows:
I typed in the following command and it worked fine:
you run the command from the folder you want to copy files and in the command under "where to add to" you type the destination
为我工作。
在 Tfs 中
如果我从 Test 或上面的 Test 目录执行此操作,则相同
worked for me.
In Tfs
Same if I do it from Test or above Test directory