tf.exe 信息/version:T 没有获得最新信息 [英] tf.exe info /version:T does not get latest

查看:20
本文介绍了tf.exe 信息/version:T 没有获得最新信息的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 tf.exe 来获取路径的最新信息,但是

I am using tf.exe to get the latest information of a path but

tf.exe info $/Path /version:T

只给我第一个信息.但我显然需要最新的.使用 VS2013 和内置历史我可以看到最新的.

only gives me the very first info. But I need the latest ones obviously. Using VS2013 and the build-in history I can see the latest.

可能是什么问题?

推荐答案

您正在请求根目录的 info.通常这样的文件夹只创建一次,因此只有一个历史元素.当您在 Visual Studio 中查看历史记录列表时,您正在查看递归历史记录(文件夹及其下的所有子文件夹和文件).

You're requesting the info for the root directory. Normally such folders are only created once and as such will only have one history element. When you look at the history list in Visual studio, you're looking at the recursive history (of the folder and all the subfolders and files under it).

tf info 有一个 /recursive 选项,但它会列出源代码管理中每个文件的最新版本(这不是很有帮助).

tf info has a /recursive option, but it will list the latest version of each file in source control (which isn't very helpful).

我怀疑您从 tf info 返回的结果中得到了一些东西,所以如果您可以更新您的问题以解释您的需求,那么可能还有另一个命令可以帮助您.

I suspect that you're after something from the results that tf info returns, so if you could update your question to explain what you need, there might be another command that can help you.

如果您要查找特定路径下的最新变更集编号,tf changeset/latest/noprompt 可能适合您.

If you're looking for the latest changeset number under a specific path, then tf changeset /latest /noprompt might work for you.

这篇关于tf.exe 信息/version:T 没有获得最新信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆