Mercurial > hg
comparison mercurial/help/config.txt @ 22205:9fa429723f26
ui: invoke editor for committing with HGEDITFORM environment variable
At the external editor invocation for committing, the value specified
as "editform" for "cmdutil.getcommiteditor" is in "HGEDITFORM".
This enables external editor to do own customization according to
commit types.
author | FUJIWARA Katsunori <foozy@lares.dti.ne.jp> |
---|---|
date | Fri, 15 Aug 2014 23:05:53 +0900 |
parents | bc2132dfc0a4 |
children | 75618a223e18 |
comparison
equal
deleted
inserted
replaced
22204:f8dc6599da5d | 22205:9fa429723f26 |
---|---|
418 These dot-separated lists of names are treated as hierarchical ones. | 418 These dot-separated lists of names are treated as hierarchical ones. |
419 For example, ``changeset.tag.remove`` customizes the commit message | 419 For example, ``changeset.tag.remove`` customizes the commit message |
420 only for :hg:`tag --remove`, but ``changeset.tag`` customizes the | 420 only for :hg:`tag --remove`, but ``changeset.tag`` customizes the |
421 commit message for :hg:`tag` regardless of ``--remove`` option. | 421 commit message for :hg:`tag` regardless of ``--remove`` option. |
422 | 422 |
423 At the external editor invocation for committing, corresponding | |
424 dot-separated list of names without ``changeset.`` prefix | |
425 (e.g. ``commit.normal``) is in ``HGEDITFORM`` environment variable. | |
426 | |
423 In this section, items other than ``changeset`` can be referred from | 427 In this section, items other than ``changeset`` can be referred from |
424 others. For example, the configuration to list committed files up | 428 others. For example, the configuration to list committed files up |
425 below can be referred as ``{listupfiles}``:: | 429 below can be referred as ``{listupfiles}``:: |
426 | 430 |
427 [committemplate] | 431 [committemplate] |