comparison mercurial/help.py @ 5660:3c80ecdc1bcd

Use VISUAL in addition to EDITOR when choosing the editor to use.
author Osku Salerma <osku@iki.fi>
date Wed, 05 Dec 2007 20:40:01 +0900
parents 3d35c8cb5eb4
children f077815932ce
comparison
equal deleted inserted replaced
5659:3da652f2039c 5660:3c80ecdc1bcd
41 Path to the 'hg' executable, automatically passed when running hooks, 41 Path to the 'hg' executable, automatically passed when running hooks,
42 extensions or external tools. If unset or empty, an executable named 42 extensions or external tools. If unset or empty, an executable named
43 'hg' (with com/exe/bat/cmd extension on Windows) is searched. 43 'hg' (with com/exe/bat/cmd extension on Windows) is searched.
44 44
45 HGEDITOR:: 45 HGEDITOR::
46 This is the name of the editor to use when committing. Defaults to the 46 This is the name of the editor to use when committing. See EDITOR.
47 value of EDITOR.
48 47
49 (deprecated, use .hgrc) 48 (deprecated, use .hgrc)
50 49
51 HGENCODING:: 50 HGENCODING::
52 This overrides the default locale setting detected by Mercurial. 51 This overrides the default locale setting detected by Mercurial.
92 91
93 LOGNAME:: 92 LOGNAME::
94 If neither HGUSER nor EMAIL is set, LOGNAME will be used (with 93 If neither HGUSER nor EMAIL is set, LOGNAME will be used (with
95 '@hostname' appended) as the author value for a commit. 94 '@hostname' appended) as the author value for a commit.
96 95
96 VISUAL::
97 This is the name of the editor to use when committing. See EDITOR.
98
97 EDITOR:: 99 EDITOR::
98 This is the name of the editor used in the hgmerge script. It will be 100 Sometimes Mercurial needs to open a text file in an editor for a user
99 used for commit messages if HGEDITOR isn't set. Defaults to 'vi'. 101 to modify, for example when writing commit messages or when using the
102 hgmerge script. The editor it uses is determined by looking at the
103 environment variables HGEDITOR, VISUAL and EDITOR, in that order. The
104 first non-empty one is chosen. If all of them are empty, the editor
105 defaults to 'vi'.
100 106
101 PYTHONPATH:: 107 PYTHONPATH::
102 This is used by Python to find imported modules and may need to be set 108 This is used by Python to find imported modules and may need to be set
103 appropriately if Mercurial is not installed system-wide. 109 appropriately if Mercurial is not installed system-wide.
104 ''', 110 ''',