How to determine the latest changeset in your workspace - Buck Hodges - Site Home - MSDN Blogs:

tf history . /r /noprompt /stopafter:1 /version:W

Here's what that command means.๏ฟฝ The ". /r" part says to look at the current directory recursively, which is why you must run it from the root (top directory) of your workspace.๏ฟฝ Here I've specified "/noprompt" so that I don't get dialog, but that's optional.๏ฟฝ The "/stopafter:1" option tells tf to print only one changeset.

There's got to be a way to do that in Visual Studio (via the UI), but until I stumble over that...

Labels: ,