Mercurial > hg
comparison mercurial/help/config.txt @ 40478:86dfae98a3a2
merge-tools: when calling external merge tool, describe the resolve inputs
It is a common complaint that a user will be running some operation (histedit,
rebase, evolve, etc.), get into a merge-conflict situation, and not understand
what they are seeing - it is possible that the merge tool is configured to
display the hash, but it's difficult for most merge tools to display a good
snippet of the description.
In the worst case, configuring this template will lead to output that is
immediately covered by a terminal application, maybe the user can hit ctrl-z to
see it. In the common case, the output will be in a terminal window and a GUI
program will start, and it should be possible to view both the terminal and the
GUI program at the same time.
Differential Revision: https://phab.mercurial-scm.org/D5094
author | Kyle Lippincott <spectral@google.com> |
---|---|
date | Sat, 13 Oct 2018 07:49:20 -0700 |
parents | e928bedf0919 |
children | 840cd57cde32 |
comparison
equal
deleted
inserted
replaced
40477:592feb3f88b1 | 40478:86dfae98a3a2 |
---|---|
2294 | 2294 |
2295 .. container:: windows | 2295 .. container:: windows |
2296 | 2296 |
2297 On Windows, this configuration option is ignored and the command aborted. | 2297 On Windows, this configuration option is ignored and the command aborted. |
2298 | 2298 |
2299 ``pre-merge-tool-output-template`` | |
2300 A template that is printed before executing an external merge tool. This can | |
2301 be used to print out additional context that might be useful to have during | |
2302 the conflict resolution, such as the description of the various commits | |
2303 involved or bookmarks/tags. | |
2304 | |
2305 Additional information is available in the ``local`, ``base``, and ``other`` | |
2306 dicts. For example: ``{local.label}``, ``{base.name}``, or | |
2307 ``{other.islink}``. | |
2308 | |
2299 ``quiet`` | 2309 ``quiet`` |
2300 Reduce the amount of output printed. | 2310 Reduce the amount of output printed. |
2301 (default: False) | 2311 (default: False) |
2302 | 2312 |
2303 ``remotecmd`` | 2313 ``remotecmd`` |