根据标签或日期分支移动文件夹
我已使用“移动”命令在 tfs 中移动了一个文件夹,但现在我无法根据日期或标签在移动的文件夹中创建分支(标签是在源位于旧文件夹中时创建的)。 不过,我可以根据“最新版本”创建一个分支。 我收到一条错误消息“如果我尝试分支标签,则没有项目匹配。我猜测标签在移动之前使用旧文件夹引用文件。如果我尝试“获取特定版本”,我也没有得到任何文件 按日期或标签回滚移动文件夹,但这给我带来了诸如“发生意外错误”之类的错误。
我尝试
I've moved a folder in tfs using the "move" command but now I cannot create branches off the moved folder based on date or label (label was created when source was in the old folder). I can however create a branch based on "latest version". I get an error message "no items match in if I try to branch of a label. I'm guessing the label references files using the old folder before I moved it. I also get no files if I try to "get specific version" by either date or label.
I've tried to roll back moving the folder but this gives me errors such as "An unexpected error occured".
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果需要从移动之前的时间点分支,则需要指定旧名称。
If you need to branch from points in time prior to the move, you need to specify the old name.
与回滚相关的错误是我必须先回滚文件夹重命名。 然后我可以回滚移动文件夹。
The error related to rollback was that I had to roll back a folder rename first. I could then roll back moving the folder.