I had the same question as posted here:
Cleartool findmerge select changes from file 2 by default in all cases?
I tried the recommended fix (performing a cle
You could try a mixed approach:
findmerge -ftag -merge -abort
, as suggested: that should at least merge the folders.The key, to avoid any evil twin, is to make sure the folder is merged first (that will create entries for the files of that folder).
Then the clearfsimport
won't try to create new files, but will update those entries, avoiding the evil twins.
The OP karl_ proposes in the comments:
I think I'll do the following:
findmerge -type d -abort
on the first pass, let manual merges fail
findmerge -type d -exec "ct merge (manually merge the element from source)"
findmerge -type f -abort
on this pass, let manual merges fail
findmegre -type f -exec "ct merge (manually merge the element from source)"
That is the right plan: first merge folders, then files. That way, no evil twins.