Discussion Forum for StarTeam Users


Re: stcmd


[ Home ] [ Follow Ups ] [ Post Followup ] [ Discussion Forum for StarTeam Users] ]

Posted by Tommie Mademark on August 18, 2000 at 16:33:13:

In Reply to: stcmd posted by Hicran Erzincanli on August 17, 2000 at 19:29:46:

: I used the commadn below in order to label the file myfile.doc only however all the files under MyProject directory are labeled the files under subdirectories as well.

: C:\>stcmd apply-label -p Administrator:Administrator@143.181.142.71:49201/MyProject /lbl mylabel myfile.doc

: How can I label specific files?
: Thanks.
: Hicran.

Hi Hicran,

With the "-b" switch on the first line in your example below, you tell StarTeam that the label you are creating is a View Label or a Build Label. (Without either -b or -r, the label is a view label.) View labels (and a build label is a special type of view label) are *immediately and automatically* applied to every folder, file, change request, task, and topic in the view.

Instead of the "-b" switch, you need to use the "-r" switch when you create your label. The "-r" switch specifies that the new label is a revision label which can be used to label individual files.

Before:

stcmd label -p Administrator:Administrator@143.181.142.71:49201/MyProject -nl trying -b <-----

stcmd apply-label -p "Administrator:Administrator@143.181.142.71:49201/MyProject" -lbl trying ozge.jpg


After:

stcmd label -p Administrator:Administrator@143.181.142.71:49201/MyProject -nl trying -r <-----

stcmd apply-label -p "Administrator:Administrator@143.181.142.71:49201/MyProject" -lbl trying ozge.jpg


Best Regards,

Tommie Mademark
Fox Data
Sweden


Follow Ups:



Post a Followup

Name:
E-Mail:

Subject: Re: Re: stcmd

Your comment (at the end please!):


[ Home ] [ Follow Ups ] [ Post Followup ] [ Discussion Forum for StarTeam Users] ]