It's all about the answers!

Ask a question

Can scm cli reference baselines that have '@' in their name?

Peter Vohmann (2135) | asked Sep 11 '13, 11:39 a.m.
Does the [l]scm utility have a way to quote the '@' character in selectors?

We have imported data from clearcase, i.e. using clearcase synchronizer.
This has created baseline names of the form 'lbtype:LABEL@\vob'.
Unfortunately, "@" is treated as a repo separator and truncates the baseline name:
D:\sandbox> lscm accept -b "lbtype:LABEL_22@\vob"
Unresolved baselines:
Problem runing 'accept':
Unable to resolve all baselines for "user_workspace".
The @repo part is documented for some operations that do not relate to a current workspace,
regardless if I specify a repository with -r switch or not:
D:\sandbox> lscm baseline propls -r https://myrepo:9443/ccm "lbtype:LABEL_22@\vob"
Password (pvohmann @ \vob):

One answer

permanent link
Kevin Ramer (4.5k9185200) | answered Sep 11 '13, 2:34 p.m.
You can use "alternate" means of referencing the baseline:

-b Indicates that the selectors refer to baslines and the specified baselines must be accepted. To specify a baseline, use its name, alias, or UUID in the list of selectors.

Alias could be done by listing the baselines, the alias is the numeric value enclosed in ().

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.