O'Reilly logo

IBM Rational ClearCase 7.0: Master the Tools That Monitor, Analyze, and Manage Software Configurations by Tatiana Shpichko, Marc Girod

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Merging directories

The issue of merging directories is actually quite different from that of merging files.

Let's note that, under ClearCase, directories are not stored in containers (standard file objects found in vob pools) unlike file elements, so that their merging cannot be delegated to external tools, acting upon inodes accessed over NFS. It has to use ClearCase functions at the low level, to create and remove hard links.

In fact, with large directories, it is often more convenient and more manageable to use rm and ln explicitly than to use merge, and correct the results before checking in:

$ ct co -nc -bra /main . cleartool: Warning: Version checked out ("/main/6") is different from ### version selected by view before checkout ("/main/mg/3"). ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required