Using tf shelvesets
, I get a list of all the the shelvesets I've created.
The problem is, they are sorted alphabetically.
Is there any way to use tf
to get a list of shelvesets sorted by creation date? I want to be able to easily see the (few) most recent shelvesets I've made, as I have accumulated quite a few now, and am usually (not always) only interesting in the recently created ones.
The version as reported by tf
: Team Foundation Version Control Tool, Version 15.117.26727.0
Edit: If this isn't possible with tf
, I am open to alternatives that I can run from a terminal.
Update
You should be able to simply type in your user name in the Find Shelvesets window and hit Enter in Visual Studio. The result is automatically sorted by creation time. The recently created ones display at the top of the list.
Another option is using some third-party tool such as Team Foundation Sidekicks. There is a Shelveset Sidekick application , could easily filter the shelveset as you need.
It's not able to use tf shelvesets
command to sort the shelveset. And unlike a changeset, a shelveset is a non-versioned entity. You need to print all info and use regex to search or some other tool to sort yourself.
tf shelvesets /format:detailed > log.txt
Detailed displays the shelveset name, owner, and comment in addition to a list of associated work items and any check-in notes.
There has also been a related user voice to better find/filter shelvesets and on backlog :
Shelveset search improvement