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 311541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T07:56:03+00:00 2026-05-12T07:56:03+00:00

I have two streams, where one is based off of the other. I’m working

  • 0

I have two streams, where one is based off of the other. I’m working in the child stream now. Before I deliver, I want to know which files are new and which files are modified versions of files in the base stream.

For example:

Base stream
A.txt
B.txt

Child stream
A.txt
B.txt <- modified
C.txt <- new

My delivery is going to include both my changes to B.txt as well as the new file C.txt. I want to know which files I’m delivering, and whether or not they are new.

I would like to do this command line, as it’s part of a script that I’m writing to help me out with delivering streams.


Thinking about this some more, I could do this if we could find out the previous version of a given version and then see if it’s empty. Is there a way to do this?

  • 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-12T07:56:04+00:00Added an answer on May 12, 2026 at 7:56 am

    One simple solution would be using clearfsimport:

     clearfsimport -preview
    

    With the ‘-preview‘ option, you do not import anything, but by parsing the output of what would modified (“updated version“) or created (“new version“), you would get what you want.

    Of course, in the same spirit, you could just use the ‘-preview‘ option of the deliver operation for pretty much the same result.

    deliver –pre/view –l/ong –str/eam sourceStreamForDeliver@\myPVobName
    

    Note the ‘-long‘ option, needed to display the versions created or updated (otherwise, it would only display the UCM activities…)


    My understanding of clearfsimport is that it’s used to import files that aren’t already managed under clearcase.

    Nope: clearfsimport can import new files or update existing files (it can even suppress existing versioned files if they are not in the imported source tree (option “| mirror`”)


    After some tests, the deliver -l preview solution is more accurate, since it will only report new or updated files which are actually versioned in the source (i.e. the view on the source stream of the deliver).
    A clearfsimport would blindly try to import every files present within the source view, including private files (i.e. “not-versioned” files), which would then be incorrectly reported as “new” file in the destination view (the one on the destination or “target” stream of the deliver)

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

Sidebar

Related Questions

I have two streams that i want to combine into one stream. The first
I have two streams of data, one with audio data,the other with video data.
I have two threads, one reading streams and producing data-objects from their content. I
Have two actionsheet buttons and one modalviewcontroller on mainviewcontroller in application. Now for two
is it possible to create a live audio stream based on other audio streams?
If I have two streams(called Stream1, Stream2) of development and I want to merge
I have two different windows, one will to display streams on a image and
I have two classes (MVC view model) which inherits from one abstract base class.
I have two update panels on a page. And I want to update both
I have two threads. One of them writes to PipedOutputStream, another one reads from

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.