Size: 454
Comment: add VISUAL env var
|
Size: 454
Comment: converted to 1.6 markup
|
Deletions are marked like this. | Additions are marked like this. |
Line 9: | Line 9: |
* ["HGEDITOR"] * ["hgeditor"] |
* [[HGEDITOR]] * [[hgeditor]] |
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