⇤ ← Revision 1 as of 2008-05-14 22:45:39
Size: 415
Comment: description of how hg selects editor
|
Size: 454
Comment: add VISUAL env var
|
Deletions are marked like this. | Additions are marked like this. |
Line 4: | Line 4: |
1. {{{VISUAL}}} environment variable |
Mercurial tries to pick which program to call to edit a commit message by trying the following (in order):
HGEDITOR environment variable
editor configuration option in [ui] section (in hgrc or passed with --config ui.editor command-line option).
VISUAL environment variable
EDITOR environment variable
vi, if none of the above is set
See also
- ["HGEDITOR"]
- ["hgeditor"]