comparison mercurial/help.py @ 3801:6f0c42d50394

move environment topic
author Matt Mackall <mpm@selenic.com>
date Tue, 05 Dec 2006 16:31:08 -0600
parents 17a11f4ff260
children eb66d76c7746
comparison
equal deleted inserted replaced
3800:54fd4d3b4fce 3801:6f0c42d50394
39 39
40 "1124706420 25200" (2005-08-22 03:27:00 -0700) 40 "1124706420 25200" (2005-08-22 03:27:00 -0700)
41 41
42 "1145475591 -7200" (2006-04-19 21:39:51 +0200) 42 "1145475591 -7200" (2006-04-19 21:39:51 +0200)
43 ''', 43 ''',
44 'environment|env|Environment Variables':
45 r'''
46 HGEDITOR::
47 This is the name of the editor to use when committing. Defaults to the
48 value of EDITOR.
49
50 (deprecated, use .hgrc)
51
52 HGENCODING::
53 This overrides the default locale setting detected by Mercurial.
54 This setting is used to convert data including usernames,
55 changeset descriptions, tag names, and branches. This setting can
56 be overridden with the --encoding command-line option.
57
58 HGENCODINGMODE::
59 This sets Mercurial's behavior for handling unknown characters
60 while transcoding user inputs. The default is "strict", which
61 causes Mercurial to abort if it can't translate a character. Other
62 settings include "replace", which replaces unknown characters, and
63 "ignore", which drops them. This setting can be overridden with
64 the --encodingmode command-line option.
65
66 HGMERGE::
67 An executable to use for resolving merge conflicts. The program
68 will be executed with three arguments: local file, remote file,
69 ancestor file.
70
71 The default program is "hgmerge", which is a shell script provided
72 by Mercurial with some sensible defaults.
73
74 (deprecated, use .hgrc)
75
76 HGRCPATH::
77 A list of files or directories to search for hgrc files. Item
78 separator is ":" on Unix, ";" on Windows. If HGRCPATH is not set,
79 platform default search path is used. If empty, only .hg/hgrc of
80 current repository is read.
81
82 For each element in path, if a directory, all entries in directory
83 ending with ".rc" are added to path. Else, element itself is
84 added to path.
85
86 HGUSER::
87 This is the string used for the author of a commit.
88
89 (deprecated, use .hgrc)
90
91 EMAIL::
92 If HGUSER is not set, this will be used as the author for a commit.
93
94 LOGNAME::
95 If neither HGUSER nor EMAIL is set, LOGNAME will be used (with
96 '@hostname' appended) as the author value for a commit.
97
98 EDITOR::
99 This is the name of the editor used in the hgmerge script. It will be
100 used for commit messages if HGEDITOR isn't set. Defaults to 'vi'.
101
102 PYTHONPATH::
103 This is used by Python to find imported modules and may need to be set
104 appropriately if Mercurial is not installed system-wide.
105 '''
44 } 106 }
45 107