Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 645539
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:30:49+00:00 2026-05-13T21:30:49+00:00

newbie for clearcase. Since clearcase’s config is rather different from other concept in git,

  • 0

newbie for clearcase.

Since clearcase’s config is rather different from other concept in git, I may mean logs for
any files with specified version/branch path.

Like I want to show log for all element match:

element * .../specified-lable-or-branch/
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T21:30:50+00:00Added an answer on May 13, 2026 at 9:30 pm

    First you need to be aware of the differences between ClearCase and Git, ClearCase being file-centric (no notion of repository-wide revision or commit)

    You can display logs for any visible file by typing:

    cleartool lshistory /myView/myVob/path/to/myFile
    

    See lshistory man page. (and also How do I understand about ClearCase event records in the VOB database)

    The lshistory command lists event records in reverse chronological order, describing operations that have affected a VOB‘s data.

    • File system data history.
      Lists events concerning elements, branches, versions, and VOB links.
      This includes records for creation and deletion of objects, and records for attaching and removal of annotations: version labels, attributes, and hyperlinks.

    Another kind of logs is the lsvtree (history of versions):

    The lsvtree command lists part or all of the version tree of one or more elements.
    By default, the listing includes all branches of an element’s version tree except for obsolete branches.

    alt text http://youtrack.jetbrains.net/_persistent/tree.PNG?file=74-3724&v=1&c=true


    The OP adds:

    How can I display all history for elements match a pattern like has new version under a branch?

    You can combine almost any commands with a find query.

    Windows syntax:

    cleartool find . -name "apattern" -exec "cleartool lshistory \"%CLEARCASE_PN%\""
    cleartool find . -version "{created_since(target-data-time)}" -exec "cleartool lshistory \"%CLEARCASE_PN%\""
    

    Unix syntax:

    cleartool find . -name "apattern" -exec 'cleartool lshistory "$CLEARCASE_PN"'
    cleartool find . -version "{created_since(target-data-time)}" -exec 'cleartool lshistory "$CLEARCASE_PN"'
    

    For the " like has new version under a branch?" specifically:

    cleartool find . -version "brtype(mybranch)" -exec ...
    

    should do it (any element which has no version created for that branch will not be listed).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm a ClearCase newbie and up until now have been used to SVN. Therefore,
Newbie to .NET data apps here, coming from a Visual Foxpro background. I'm planning
I'm really a LINQ newbie. I got an unknown problem: public static int save(TEntity
Newbie question. I have a NSMutableArray that holds multiple objects (objects that stores Bezier
Newbie to LINQ, and trying to write the following query... select f.Section_ID, f.Page_ID, f.SortOrder,
Newbie here...can I write one program which incorporates .NET LINQ and also various Java
Newbie IIS question: I want to setup HTTPS access for my XHTML page (not
newbie here, first post. I just spent like 4 hours trying to assign one
Newbie question. Looking at arrays (ie: dynamically sized) this works: NSArray *array; array =

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.