Topic
  • 3 replies
  • Latest Post - ‏2008-10-01T20:30:24Z by jeff98air
Norricorp
Norricorp
77 Posts

Pinned topic list versions within a baseline

‏2008-10-01T09:29:19Z |
Is there a way of listing the contents of a baseline. I could create a view based on the baseline and do a listing. But I wondered if there was a similar action to finding every version with label XYZ, which can be done via find.
  • jeff98air
    jeff98air
    817 Posts

    RE: [cciug] list versions within a baseline

    ‏2008-10-01T18:27:42Z  
    Are you using a composite baseline? Do you want to list versions of a
    baseline in just one component, or across all components in a composite?

    Since a baseline label is unique in each component, you need to upgrade
    the baseline to "full" (if not already), then you can perform a
    `cleartool find` based on that label. Ex.

    cleartool find /vobs/vob1/comp1 -ver "lbtype(ACME-1.0_0123.789)" -print

    You'll need to do this for each rooted component separately using its
    respective baseline label name. If you're using a composite baseline,
    do a

    cleartool desc -fmt "%depends_onp\n"
    baseline:ACME-1.0_0123@/vobs/pvob_acme

    to list the members of the composite.

    Also, to diff baselines, are you familiar with `cleartool diffbl`, or
    the Windows GUI Baseline Browser?

    (I hope the web doesn't mess up this text too badly!) ;-)

    -Jeff Ng

    -----Original Message-----

    Is there a way of listing the contents of a baseline. I could create a
    view based on the baseline and do a listing. But I wondered if there was
    a similar action to finding every version with label XYZ, which can be
    done via find.
    _______________________________________________
    cciug mailing list
    cciug@lists.ca.ibm.com
    Unsubscribe:cciug-leave@lists.ca.ibm.com
  • Robort
    Robort
    140 Posts

    Re: RE: [cciug] list versions within a baseline

    ‏2008-10-01T19:29:39Z  
    • jeff98air
    • ‏2008-10-01T18:27:42Z
    Are you using a composite baseline? Do you want to list versions of a
    baseline in just one component, or across all components in a composite?

    Since a baseline label is unique in each component, you need to upgrade
    the baseline to "full" (if not already), then you can perform a
    `cleartool find` based on that label. Ex.

    cleartool find /vobs/vob1/comp1 -ver "lbtype(ACME-1.0_0123.789)" -print

    You'll need to do this for each rooted component separately using its
    respective baseline label name. If you're using a composite baseline,
    do a

    cleartool desc -fmt "%depends_onp\n"
    baseline:ACME-1.0_0123@/vobs/pvob_acme

    to list the members of the composite.

    Also, to diff baselines, are you familiar with `cleartool diffbl`, or
    the Windows GUI Baseline Browser?

    (I hope the web doesn't mess up this text too badly!) ;-)

    -Jeff Ng

    -----Original Message-----

    Is there a way of listing the contents of a baseline. I could create a
    view based on the baseline and do a listing. But I wondered if there was
    a similar action to finding every version with label XYZ, which can be
    done via find.
    _______________________________________________
    cciug mailing list
    cciug@lists.ca.ibm.com
    Unsubscribe:cciug-leave@lists.ca.ibm.com
    > Since a baseline label is unique in each component, you need to upgrade
    > the baseline to "full" (if not already), then you can perform a
    > `cleartool find` based on that label. Ex.
    >
    > cleartool find /vobs/vob1/comp1 -ver "lbtype(ACME-1.0_0123.789)" -print
    It isn't necessary to apply fully-labeled baselines; use this form of find instead:

    cleartool find PATH -version "version(BASELINE)" -print
  • jeff98air
    jeff98air
    817 Posts

    Re: RE: [cciug] list versions within a baseline

    ‏2008-10-01T20:30:24Z  
    • Robort
    • ‏2008-10-01T19:29:39Z
    > Since a baseline label is unique in each component, you need to upgrade
    > the baseline to "full" (if not already), then you can perform a
    > `cleartool find` based on that label. Ex.
    >
    > cleartool find /vobs/vob1/comp1 -ver "lbtype(ACME-1.0_0123.789)" -print
    It isn't necessary to apply fully-labeled baselines; use this form of find instead:

    cleartool find PATH -version "version(BASELINE)" -print
    Cool! I didn't know the version_selector would work on an incremental baseline. I can't seem to find any reference to it in the cmd_ref. Thanks!

    -Jeff Ng