简体   繁体   中英

Replacement for “Team Foundation PowerTools” TFPT GETCS command using TF VC commands

I am using Azure DevOps Build/Release pipelines to duplicate PowerShell deployment scripts. Most of them use "Team Foundation PowerTools" TFPT GETCS command. In order to use the pipelines, I need to use TF VC commands.

Does anyone know of a replacement for "Team Foundation PowerTools" TFPT GETCS command

GetCS Command

Use the GetCS (Get Changeset) command to get the changes in a particular changeset. Example: tfpt getcs /changeset:changesetnum

According to the description, this command is used to get just the files affected by a specific Changeset.

Unfortunately, we do not have any corresponding command in tf.exe version control command.

As we know that a changeset contains all the pending changes of one check in operation. And the change type may be None, Add, Edit, Encoding, Rename and etc. You can refer to this article for a better knowledge of ChangeType.

Instead of TFPT Getcs command, you could also use TFS API to achieve the similar thing.

A detail sample for your reference: https://stackoverflow.com/a/9350130/5391065

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM