It's all about the answers!

Ask a question

RTC client SCM commands:How to extract a fix using a task id


Venunath Beyagudem (611) | asked Mar 07 '12, 2:14 p.m.
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

2 answers



permanent link
John Camelon (1.7k14) | answered Mar 09 '12, 9:55 a.m.
JAZZ DEVELOPER
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.

permanent link
Venunath Beyagudem (611) | answered Mar 09 '12, 10:37 a.m.
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.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.