RE: [cciug] most efficient method of labelling

From: Masterson, David (David.Masterson@kla-tencor.com)
Date: Wed Feb 02 2000 - 12:49:33 EST


Never tested it, but, if I were to guess, I'd say that the fastest to
slowest approaches would be (assuming current view has items to be
labelled):

* find . -print | xargs cleartool mklabel -nc mylabel
* cleartool mklabel -recurse -nc mylabel .
* find . -exec cleartool mklabel -nc mylabel {} \;
* ct find . -cview -exec "cleartool mklabel -nc mylabel $CLEARCASE_XPN"

The first two are kind of a toss up as to which would be faster.

-----Original Message-----
From: Brandon Metcalf [mailto:bmetcalf@nortelnetworks.com
Sent: Wednesday, February 02, 2000 9:05 AM
To: cciug@Rational.Com
Subject: [cciug] most efficient method of labelling

What is the most efficient method of labelling all elements in a vob where
the versions to be labelled are selected by the current config spec?

ct mklabel -recurse <lbtype> .

from the top level works, but would using ct find and -exec be more
efficient?

Brandon
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



This archive was generated by hypermail 2b29 : Sun May 06 2001 - 00:22:57 EDT