Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes



2 answers

Permanent link
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.

1 vote


Permanent link
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.

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Mar 07 '12, 2:14 p.m.

Question was seen: 5,288 times

Last updated: Mar 07 '12, 2:14 p.m.

Confirmation Cancel Confirm