Vignesh
Vignesh

Reputation: 1140

merge of directories in clearcase

I merged directories in two different views using clearcase. The directories can have difference in the no. of files and subdirectories.

After merge The listing of files merged on merge manager doesnot match with no. of files checkedout on to-clearcase view.

ie. lsco on the merged-to view and No. of files checked out on merge manager(I didn't checkout any files prior to merge operation)

Upvotes: 1

Views: 2929

Answers (1)

VonC
VonC

Reputation: 1330022

It depends on the history of the two versions of a directory being merged from one branch to another:

  • if one version has removed files (i.e. has less files than the other version)
  • if said version is merged onto the other,

the resulting version will have less files than initially shown in the view.

That could be because:

  • that view is not the one used for the merge
  • that view is the correct one, but with an eclipsed or hijacked content (privates files replacing versioned files)

In any case, what would help in the mentioned view is:

  • a 'cleartool ls' in the directory merged
  • a 'cleartool ls' in the parent directory of the directory merged.

The output of those two commands would help to confirm the exact status of the files merged within that directory, as well as the status of the directory itself.

Upvotes: 2

Related Questions