comparison mercurial/help/environment.txt @ 9999:f91e5630ce7e

setup: install translation files as package data Remove the `install_package_data' subclass of `install_data' and use the `package_data' functionality provided by distutils instead. As package data must be located within the package directory, the data files are now generated in the build directory. To simplify the functionality of this change, the top-level `doc' and `templates' directories have been moved into the `mercurial' package directory.
author Dan Villiom Podlaski Christiansen <danchr@gmail.com>
date Tue, 01 Dec 2009 16:06:10 +0100
parents help/environment.txt@90e968899c72
children 40dfd46d098f
comparison
equal deleted inserted replaced
9998:4a3c388f8c69 9999:f91e5630ce7e
1 HG
2 Path to the 'hg' executable, automatically passed when running
3 hooks, extensions or external tools. If unset or empty, this is
4 the hg executable's name if it's frozen, or an executable named
5 'hg' (with %PATHEXT% [defaulting to COM/EXE/BAT/CMD] extensions on
6 Windows) is searched.
7
8 HGEDITOR
9 This is the name of the editor to run when committing. See EDITOR.
10
11 (deprecated, use .hgrc)
12
13 HGENCODING
14 This overrides the default locale setting detected by Mercurial.
15 This setting is used to convert data including usernames,
16 changeset descriptions, tag names, and branches. This setting can
17 be overridden with the --encoding command-line option.
18
19 HGENCODINGMODE
20 This sets Mercurial's behavior for handling unknown characters
21 while transcoding user input. The default is "strict", which
22 causes Mercurial to abort if it can't map a character. Other
23 settings include "replace", which replaces unknown characters, and
24 "ignore", which drops them. This setting can be overridden with
25 the --encodingmode command-line option.
26
27 HGMERGE
28 An executable to use for resolving merge conflicts. The program
29 will be executed with three arguments: local file, remote file,
30 ancestor file.
31
32 (deprecated, use .hgrc)
33
34 HGRCPATH
35 A list of files or directories to search for hgrc files. Item
36 separator is ":" on Unix, ";" on Windows. If HGRCPATH is not set,
37 platform default search path is used. If empty, only the .hg/hgrc
38 from the current repository is read.
39
40 For each element in HGRCPATH:
41
42 - if it's a directory, all files ending with .rc are added
43 - otherwise, the file itself will be added
44
45 HGUSER
46 This is the string used as the author of a commit. If not set,
47 available values will be considered in this order:
48
49 - HGUSER (deprecated)
50 - hgrc files from the HGRCPATH
51 - EMAIL
52 - interactive prompt
53 - LOGNAME (with ``@hostname`` appended)
54
55 (deprecated, use .hgrc)
56
57 EMAIL
58 May be used as the author of a commit; see HGUSER.
59
60 LOGNAME
61 May be used as the author of a commit; see HGUSER.
62
63 VISUAL
64 This is the name of the editor to use when committing. See EDITOR.
65
66 EDITOR
67 Sometimes Mercurial needs to open a text file in an editor for a
68 user to modify, for example when writing commit messages. The
69 editor it uses is determined by looking at the environment
70 variables HGEDITOR, VISUAL and EDITOR, in that order. The first
71 non-empty one is chosen. If all of them are empty, the editor
72 defaults to 'vi'.
73
74 PYTHONPATH
75 This is used by Python to find imported modules and may need to be
76 set appropriately if this Mercurial is not installed system-wide.