engine TCL engine command
engine mode [[+-]'modespec'] …
Configures various engine operating modes. engine mode
can be invoked
without argument to retrieve the current settings for all supported
modes. The command can also be invoked with one or more mode
specification to set these modes (see 'modespec' argument below).
'modespec' |
A mode specification string. If
|
When called without arguments, the command returs the current configuration of all engine modes.
engine mode -overwrite +move-if-change
engine merge-tool 'tool'
Changes the engine merge tool. When the engine is in 'merge-if-change'
mode (see engine mode
), a merge tool is inkoked with
the two conflicting versions of the destination file. If the merge tools
exits successfuly, the generated file is replaced by the merged version.
There are two builtin tools: interactive
and auto
. interactive
interactively prompts the user for each patch to be applied to merge the
final destination. The user can accept or reject the patch, or leave the
destination file unchanged. The auto
builtin tool automatically merges
the two files and places conflict markers (<<<<<<<
and >>>>>>>
) were
appropriate in the destination file.
'tool' |
The path to the merge tool executable (e.g. |
engine chdir 'dir'
Change the engine output directory. By default, files are generated in the current directory. This command can be used to generate output in any other directory.
'dir' |
The new output directory, absolute or relative to the current working directory. |
engine pwd
The current engine output directory.