I’m working on a large project, for which several thousand branch types are defined, and would like to quickly retrieve a list of “my” branch types. This can be achieved either by listing branch types created by me, or by listing branch types whose names start with my username.
As the full list is huge and lstype runs for approximately an hour normally, is there a way to formulate a query that can be answered quickly?
I never found a native command able to return quickly an answer.
When looking at the
cleartool lstypecommand, the technote “LSTYPE performance improvements” does mention that:But as with everything with ClearCase, this doesn’t stand the test of the real world, where the number of (here) types quite be really big…
So what I usually do for this kind of request, considering I don’t create a
brtypeevery 5 minutes, is to have a batch job running every 2 hours, updating a list ofbrtypewith the informations I need (owner, date, …).I can then at any time filter that file (at least the most updated version of that file) in order to extract the list of
brtypeI need.There is the risk this list isn’t up-to-date, but in practice this works relatively well.