TFS 2013: How to get changeset comments into a text file?

寵の児 提交于 2019-12-05 21:06:50
Novox

I was referring to How do I find and view a TFS changeset by comment text?, and the accepted answer states

With the Power Tools installed:

tf history $/ -r | ? { $_.comment -like findme }

So I assumed power tools had to be installed... Apparently however, it seems tf.exe is INCLUDED with Visual Studio as it's located in

C:\Program Files (x86)\Microsoft Visual Studio 12.0\Common7\IDE

(for me at least). Anyway, I tried running:

tf history $/myprojectpath -r

and that too, opens a ui... on a whim however, I tried to redirect output:

tf history $/myprojectpath -r >> file.txt

and that seemed to do exactly what I needed...

Asked and answered... sorry gang :/

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!