Reputation: 1604
I am looking into a tf.exe commands that will allow me to checkout all the files to my local workspace from a checked in changeset id. So I can move the changeset from one branch to the other?
Is there any command that will allow me to do that ?
Thanks
Upvotes: 3
Views: 874
Reputation: 65702
In the NuGet console, you can use the TFS Powershell Snapin from the TFS PowerTools.
Add-PsSnapin Microsoft.TeamFoundation.Powershell
Get-TfsChangeset <ChangesetNumber>
Another option is to open Tools > External Tools and add a external tool that calls TF.exe changeset
and accepts/prompts arguments to supply the changeset number and if you want the other branch name so it can be done completely automatically.
Edit: If you need to check-out the files you can use:
tf checkout .\* /recursive.
Upvotes: 1