Possible for command line scm tool to create a snapshot?
As the subject says really. The command line scm tool can create a baseline but I can't seem to be able to create a snapshot from it. A baseline isn't really good enough as I can't create a new workspace from the baseline. I realise I can add the component from the stream then replace the component with a version from another baseline but it would be nice to have the snapshot capability.
Cheers, Chris.
Cheers, Chris.
8 answers
There is "scm create snapshot". I believe this was introduced in 2.0 or
2.0.0.1. I have not double checked to confirm but I have it in latest in
the very least.
On Thu, 15 Oct 2009 15:52:58 -0400, eanderso
<erik_anderson> wrote:
--
2.0.0.1. I have not double checked to confirm but I have it in latest in
the very least.
On Thu, 15 Oct 2009 15:52:58 -0400, eanderso
<erik_anderson> wrote:
Our build process generates files we want included in the build
results (snapshot and changes).
Is this still true in 2.0 (not able to create a snapshot using CLI)?
If not possible, are there plans to provide it?
If not possible with CLI, can we do this with the java or rest API?
--
On 19-Oct-09 3:48 PM, Andrew Hoo wrote:
Any idea about how to use it?
I am checking the help:
http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.scm.doc/topics/r_scm_cli_create.html
and all combinations of the command line I use fail.
For example, "scm create snapshot -r MyURL -u MyUser -P MyPassword
MyNameForSnapshot fails. Adding -s fails. Adding stream ID before the
name, fails...
Any sample?
Thanks,
Chemi.
There is "scm create snapshot". I believe this was introduced in 2.0 or
2.0.0.1. I have not double checked to confirm but I have it in latest in
the very least.
Any idea about how to use it?
I am checking the help:
http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.scm.doc/topics/r_scm_cli_create.html
and all combinations of the command line I use fail.
For example, "scm create snapshot -r MyURL -u MyUser -P MyPassword
MyNameForSnapshot fails. Adding -s fails. Adding stream ID before the
name, fails...
Any sample?
Thanks,
Chemi.
After some hours fighting with the command, thanks to Christophe and
John help I discovered the docs about SCM CLI are really broken... :-(
Forget this URL:
http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.scm.doc/topics/r_scm_cli_create.html
And use following command instead: scm help create snapshot
Hope this earns time to others,
Chemi.
John help I discovered the docs about SCM CLI are really broken... :-(
Forget this URL:
http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.scm.doc/topics/r_scm_cli_create.html
And use following command instead: scm help create snapshot
Hope this earns time to others,
Chemi.
I discovered the docs about SCM CLI are really broken... :-(
Forget this URL:
http://publib.boulder.ibm.com/infocenter/rtc/v2r0m0/index.jsp?topic=/com.ibm.team.scm.doc/topics/r_scm_cli_create.html
And use following command instead: scm help create snapshot
Quote! The on-line help at that URL is really buggy... :evil:
For example:
scm create baseline [options] [components] <baseline>
instead of:
scm create baseline [options] <workspace> <baseline> [components]
:roll:
So, always use:
scm help