RTC client SCM commands:How to extract a fix using a task id
We have recently moved from SVN to RTC client and fairly new to SCM commands. After looking at various SCM command we couldn't find commands to extract a fix using Task/changeset id.
Question?
SCM commands support file extract using specific task/changeset id ? if yes, could you please let us know the steps/commands to do this. If not supported, is there any other way to do this ?
Any help is greatly appreciated.
Thanks
Venu Beyagudem
Question?
SCM commands support file extract using specific task/changeset id ? if yes, could you please let us know the steps/commands to do this. If not supported, is there any other way to do this ?
Any help is greatly appreciated.
Thanks
Venu Beyagudem
2 answers
C:\testing\CLI\eclipse>scm help cs extract
Help on changeset extract
Extract specific version of a file from the changeset. This will load the specified version of a file
onto the disk path specified.
Aliases: ex
Usage: scm changeset extract <change> <path> <path>
change set - Change set (alias, or UUID).
path-to-item - Relative path of the file from the current working directory(if change set exists locally) or sandbox root(for incoming changes), which has to be extracted.
path-on-disk - Path where the file has to be loaded. Can be a absolute path or a relative path from
the current working directory.
Options:
--certificate arg - The file containing the user's login certificate.
--smartCard - Use the connected smart card for authentication.
-d arg - Specify the root of the shared filesystem.
-o - Overwrite the existing disk file.
-P arg - Password for repository.
-r arg - URI specifying the location of repository.
-u arg - Username for repository.
Help on changeset extract
Extract specific version of a file from the changeset. This will load the specified version of a file
onto the disk path specified.
Aliases: ex
Usage: scm changeset extract <change> <path> <path>
change set - Change set (alias, or UUID).
path-to-item - Relative path of the file from the current working directory(if change set exists locally) or sandbox root(for incoming changes), which has to be extracted.
path-on-disk - Path where the file has to be loaded. Can be a absolute path or a relative path from
the current working directory.
Options:
--certificate arg - The file containing the user's login certificate.
--smartCard - Use the connected smart card for authentication.
-d arg - Specify the root of the shared filesystem.
-o - Overwrite the existing disk file.
-P arg - Password for repository.
-r arg - URI specifying the location of repository.
-u arg - Username for repository.
In the above example its trying to extract "version of a file", we are looking for something similar to CMVC defect extract, like extraction of all the versions of the files checked in/updated using a rtc task/defect id. Is this feature available using scm command or is there any other way we can achieve this ?
Thanks for your Help.
Thanks for your Help.