peterwduncan@googlemail.com wrote:
I assume you're talking about Clearcase, right?
Quote:
|
I want to use the find command to tell me the names of the elements which are on a specific branch and that have been branched from a specific label.
|
First, elements are not on branches, they have branches.
Quote:
|
If the label is called MY_LABEL and there's a branch called MY_BRANCH then how can I find out all the elements which exist on the MY_BRANCH but have been branched from the element which has the MY_LABEL label?
|
You can't do this directly, you'd need to write a little script which does
something like the following:
1) use cleartool find -bra to find all instances of your branch.
2) use cleartool des(cribe) to find out the version where it branched from
3) use cleartool des again, this time on the version found in step 2) to
find out wether it has the label in question attached.
Hmm, using "cleartool find ... -exec 'cleartool des ...'" you can combine 1)
and 2).
HTH...
Dirk
--
Dirk Heinrichs | Tel: +49 (0)162 234 3408
Configuration Manager | Fax: +49 (0)211 47068 111
Capgemini Deutschland | Mail:
dirk.heinrichs@capgemini.com
Hambornerstraße 55 | Web:
http://www.capgemini.com
D-40472 Düsseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver:
www.keyserver.net