¿Cómo puedo ver todos los elementos extraídos por otros usuarios en TFS?


Quiero una lista de todos los archivos protegidos, por todos los usuarios, en un proyecto en TFS 2005. Todo lo que puedo ver ahora son mis archivos extraídos - en la ventana cambios pendientes. Recuerdo que en Source Safe había tal opción - ¿hay una en TFS 2005?

 23
tfs
Author: Lea Cohen, 2009-01-25

4 answers

La edición de octubre de 2008 de TFS Power Tools incluye la funcionalidad "Miembros del equipo" que le permite hacer esto y más.

Hay más información sobre esta característica en El blog de Brian Harry's.

 16
Author: Ian Nelson,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2009-01-25 08:14:40

Utilizo:

tf status itemspec /user:* /recursive 

En el Símbolo del sistema VS. itemspec es la ruta TFS al elemento que desea buscar. No se necesitan instalaciones adicionales;)

 19
Author: xr280xr,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2012-04-11 18:53:54

Normalmente uso TFS SideKicks para esto.

 13
Author: Mitch Wheat,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2009-01-25 08:01:57

Opción de Herramientas eléctricas: " Abra Visual Studio > Haga clic en Archivo > Control de Código Fuente > Buscar En Control de Código Fuente > Estado Seleccione " Mostrar todos los archivos extraídos "o" Mostrar archivos extraídos " (para filtrar los cambios por usuario) Hit Buscar "

Http://geekswithblogs.net/MikeParks/archive/2009/09/16/tfs---view-all-pending-changes-for-all-users.aspx

__

Otra forma de usar. net (complete source)

using(var tfsPc=new TfsTeamProjectCollection(tfsUri))

    {
        var vcs=tfsPc.GetService<Microsoft.TeamFoundation.VersionControl.Client.VersionControlServer>();

        var srcRoot=vcs.GetItem(srcpath);


        var pendings=vcs.QueryPendingSets(new[]{srcRoot.ServerItem}, RecursionType.Full,null,null).AsEnumerable();
        if(onlyLocks)
            pendings=pendings.Where(pq=>pq.PendingChanges.Any(pc=>pc.IsLock));
        if(minDate.HasValue)
            pendings=pendings.Where(pq => pq.PendingChanges.Any( pc => pc.CreationDate > minDate.Value));
        var pendingQuery=pendings
            .OrderByDescending(p=>p.PendingChanges.Max(d=>d.CreationDate));
        pendingQuery.Dump("pending");   


    }

Similar a la anterior, pero unirse a la ActiveDirectory para obtener el nombre de un usuario

 2
Author: Maslow,
Warning: date(): Invalid date.timezone value 'Europe/Kyiv', we selected the timezone 'UTC' for now. in /var/www/agent_stack/data/www/ajaxhispano.com/template/agent.layouts/content.php on line 61
2014-09-30 14:35:29