4

I'm working with ClearCase on Unix. I am working on a branch, and I want a command that will list all the files which I view on my branch, that have updated versions of them in the Main branch. Is that possible?

2 Answers 2

2

You can use the findmerge command to list all the elements that have been modified in another branch.

ct findm . -fver /Main -print 
1
  • I like the findmerge option. More precise than my answer. +1
    – VonC
    Jul 26, 2010 at 10:53
1

A more general command can be used to find all the files having a version on a given branch:

cleartool find . -type f -branch "brtype(my_branch)" -print
2
  • while the other answer is more to the point of the question, this is very helpful for me! I wish I could accept two answers... thanks! Jul 26, 2010 at 10:58
  • @Amir: you're welcome :) As far as I am concerned, you did choose the right answer.
    – VonC
    Jul 26, 2010 at 11:48

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.