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
A:
You can use the findmerge command to list all the elements that have been modified in another branch.
ct findm . -fver /Main -print
philippe
2010-07-26 09:32:14
I like the `findmerge` option. More precise than my answer. +1
VonC
2010-07-26 10:53:04
+1
A:
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
VonC
2010-07-26 10:51:54
@VonC 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!
Amir Rachum
2010-07-26 10:58:32
@Amir: you're welcome :) As far as I am concerned, you did choose the right answer.
VonC
2010-07-26 11:48:02