locked
Identifying labels RRS feed

  • Question

  • Labels applied in TFS Version Control does not seem to show up anywhere. How do I know which versions of the files have specific labels? That is, is there a way to check to see what labels have been applied to a file?
    Wednesday, June 7, 2006 5:04 PM

Answers

  • First off, please see this post:
    http://blogs.msdn.com/bharry/archive/2005/11/18/494439.aspx

    The v1 API does let you QueryLabels() while filtering on path & version.
    Unfortunately I don’t think this is exposed anywhere in the cmdline or
    UI clients. I anticipate it will appear in a future version of the Find
    Label dialog and the ‘tf labels’ command.

    If it’s a pressing need I’d familiarize yourself with the TFS object
    model <http://blogs.msdn.com/buckh/archive/2006/03/15/552288.aspx> ;
    it’s not hard :-)
    Wednesday, June 7, 2006 6:26 PM
    Moderator