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

  • Home
  • SEARCH
  • 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 5846873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T12:38:18+00:00 2026-05-22T12:38:18+00:00

Eventually I’d like to find out how to diff a version in an UCM

  • 0

Eventually I’d like to find out how to diff a version in an UCM activity with the change set predecessor, using the command prompt, assuming there is more than one version for the same file in the activity.

I already know how to get all the versions of a file in an activity. In general I could diff the latest version in the set with the earliest-1, but if the earliest version is the first version, because this is a new stream, then I’ll have to figure the original stream. And that is also something I don’t know how to accomplish.

A single cleartool command that receives a version and tells its predecessor will solve all my problems.

Any ideas?

  • 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-22T12:38:19+00:00Added an answer on May 22, 2026 at 12:38 pm

    I don’t know of a single command.

    I do the a cleartool descr -pred would give you the predecessor of a current version, enabling you to get the version of said predecessor in the previous branch.

    The extended pathname of a version is composed of the current branch (named ofter the current stream), and just before, of the branch from which the current branch has been created, which allows you to get the original stream name.

    From there you have the version you need to make your diff.
    However that will require a script.

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

Sidebar

Related Questions

I am using the program below to sort and eventually print out email messages.
So this question will get technical – eventually – but first check out Hanselminutes
I'd like to eventually publish one of the iPhone projects I've been working on
I have 10 servers (will eventually be hundreds) that I need to profile using
I'm trying to fix an existing C-program with VS2005 that eventually calls int system(command)
Like a lot of C# programmers, I eventually found myself in need of what
Eventually, when I've finished the game I'm writing, I'd like to port it to
I am eventually wanting to program in Objective-C to write programs for OS X
The .NET garbage collector will eventually free up memory, but what if you want
I have a UIView that will eventually contain about 2 screens worth of information.

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.