Search code examples
unixclearcase

Change default answer of clearcase findmerge command


From a terminal I type the following clearcase command.

Cleartool findmerge –all –ftag fooviewname -print –okgmerge

Each merge point gives me a prompt, with the default answer of [yes]. For example:

Needs Merge "/vob/foofilename.c" [(automatic) to /main/0 from /main/fooviewname/1 (base also /main/0)]
/vob/foofilename.c [yes]

I would like to change the default behavior of this command to use a default answer of [no].

Is there a cheap and simple way to do this?

Thanks.


Solution

  • There doesn't seem to be a way to change the default behavior of cleartool findmerge -okgmerge.

    I mentioned in "Automatic merge in clearcase using cleartool findmerge command" a way to reduce the occurrence of that message, using -merge -abort, instead of -okgmerge.