locked
TFS "TF UNDO" for all users in all workspace RRS feed

  • Question

  • Hi

    I have some quater million files checked out by developers in project GIGA, branch name is: giga_aks.

    $/GIGA/Branches/giga_aks

    Now, what command I can fire to UNDO files checked out by "ALL" of the users in "ALL/ANY" workspace they have created/used.

    NOTE: I don't want to run a command multiple times for each user / user-workspace.

     

    Pls advise if this can be possible at command level or using TFS Sidekicks?

     

    Thanks

    Arun Sangal

     

    Friday, January 14, 2011 11:59 PM

Answers

  • Hi Arun

    Status Sidekick should display whatever is checked out on a specific project, you can select All & undo pending changes. However, better way would be via TFS API...

    --SS

    Saturday, January 15, 2011 11:12 AM
  • Hello Arun,

    Thanks for your post.

    For your issue, I appreciate TFSRocks’ great advice. Just as you said, it may be impossible to use TF UBDO for all uses in all workspace. If the workspace option is not specified and you are running the command from a directory that has been added to a workspace, the current workspace is used.

    So the work around is just like TFSRock said, use TFS API to achieve your purpose.

    Thanks,


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, January 18, 2011 10:17 AM
    Moderator

All replies

  • Hi Arun

    Status Sidekick should display whatever is checked out on a specific project, you can select All & undo pending changes. However, better way would be via TFS API...

    --SS

    Saturday, January 15, 2011 11:12 AM
  • Hello Arun,

    Thanks for your post.

    For your issue, I appreciate TFSRocks’ great advice. Just as you said, it may be impossible to use TF UBDO for all uses in all workspace. If the workspace option is not specified and you are running the command from a directory that has been added to a workspace, the current workspace is used.

    So the work around is just like TFSRock said, use TFS API to achieve your purpose.

    Thanks,


    Vicky Song [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    Tuesday, January 18, 2011 10:17 AM
    Moderator