RE: [cciug] branch last used when?

From: Jamie.Echlin@ubsw.com
Date: Fri Jul 27 2001 - 12:13:39 EDT


Well it was free, what do you want! Seriously, I think cleartool gives
an error for each vob in CLEARCASE_AVOBS where that branch type doesn't
exist at all. I just piped them off somewhere, they are not interesting.
jamie

> -----Original Message-----
> From: ka3 [mailto:ka3@lucent.com
> Sent: 27 July 2001 16:46
> To: JAReedick; cciug
> Cc: ka3
> Subject: RE: [cciug] branch last used when?
>
>
>
> Andrew
>
> I tried your script and it gives me error messages.
>
> solaris 7 cc v3.2.1
>
> Karl
>
>
>
> -----Original Message-----
> From: owner-cciug@rational.com [mailto:owner-cciug@rational.comOn
> Behalf Of Reedick, Andrew
> Sent: Friday, July 27, 2001 11:04 AM
> To: cciug@rational.com
> Subject: RE: [cciug] branch last used when?
>
>
>
> Here's a working script. Run it from the admin vob:
>
> #!/usr/bin/ksh
>
> for i in `cleartool lstype -kind brtype -s | sed 's/(locked)//'`
> do
> BUFFER=`cleartool lshis -s -avobs -since
> 1-Jan-2001.00:00:00 -branch
> $i -last 1`
> if [ "$BUFFER" == "" ]
> then
> echo "dead,$i"
> else
> echo "in use,$i"
> fi
> done
>
> -----Original Message-----
> From: Jamie.Echlin@ubsw.com [mailto:Jamie.Echlin@ubsw.com
> Sent: Friday, July 27, 2001 8:28 AM
> To: cciug@rational.com
> Subject: [cciug] branch last used when?
>
>
>
> Hi,
>
> I am doing some housekeeping and want to obsolete some of the 260-odd
> branch types lying around, hopefully it will make version trees easier
> to read.
>
> What I want to do is find out when was the last time a version on a
> branch type was created, so I can judge whether the branch
> type might be
> a good candidate for obsolescence. Is there a clever way to do this,
> rather than go through an element search on every file in
> every vob for
> every branch type?
>
> PS Anybody got an "Apply to all" trigger?
>
> cheers
>
>
>
>
> Visit our website at http://www.ubswarburg.com
>
> This message contains confidential information and is intended only
> for the individual named. If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail. Please
> notify the sender immediately by e-mail if you have received this
> e-mail by mistake and delete this e-mail from your system.
>
> E-mail transmission cannot be guaranteed to be secure or error-free
> as information could be intercepted, corrupted, lost, destroyed,
> arrive late or incomplete, or contain viruses. The sender therefore
> does not accept liability for any errors or omissions in the contents
> of this message which arise as a result of e-mail transmission. If
> verification is required please request a hard-copy version. This
> message is provided for informational purposes and should not be
> construed as a solicitation or offer to buy or sell any securities or
> related financial instruments.
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> can also
> unsubscribe
>
> http://clearcase.rational.com/cciug/mailing_list.html
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> can also
> unsubscribe
>
> http://clearcase.rational.com/cciug/mailing_list.html
>
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>
> can also
> unsubscribe
>
> http://clearcase.rational.com/cciug/mailing_list.html
>

Visit our website at http://www.ubswarburg.com

This message contains confidential information and is intended only
for the individual named. If you are not the named addressee you
should not disseminate, distribute or copy this e-mail. Please
notify the sender immediately by e-mail if you have received this
e-mail by mistake and delete this e-mail from your system.

E-mail transmission cannot be guaranteed to be secure or error-free
as information could be intercepted, corrupted, lost, destroyed,
arrive late or incomplete, or contain viruses. The sender therefore
does not accept liability for any errors or omissions in the contents
of this message which arise as a result of e-mail transmission. If
verification is required please request a hard-copy version. This
message is provided for informational purposes and should not be
construed as a solicitation or offer to buy or sell any securities or
related financial instruments.

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



This archive was generated by hypermail 2b29 : Tue Jul 31 2001 - 22:04:03 EDT