13 aspects of its behaviour. |
13 aspects of its behaviour. |
14 |
14 |
15 FILES |
15 FILES |
16 ----- |
16 ----- |
17 |
17 |
18 Mercurial reads configuration data from three files: |
18 Mercurial reads configuration data from up to three files, if they |
19 |
19 exist. The names of these files depend on the system on which |
20 /etc/mercurial/hgrc:: |
20 Mercurial is installed. |
|
21 |
|
22 (Unix) /etc/mercurial/hgrc:: |
|
23 (Windows) C:\Mercurial\Mercurial.ini:: |
21 Options in this global configuration file apply to all Mercurial |
24 Options in this global configuration file apply to all Mercurial |
22 commands executed by any user in any directory. |
25 commands executed by any user in any directory. |
23 |
26 |
24 $HOME/.hgrc:: |
27 (Unix) $HOME/.hgrc:: |
|
28 (Windows) C:\Documents and Settings\USERNAME\Mercurial.ini |
25 Per-user configuration options that apply to all Mercurial commands, |
29 Per-user configuration options that apply to all Mercurial commands, |
26 no matter from which directory they are run. Values in this file |
30 no matter from which directory they are run. Values in this file |
27 override global settings. |
31 override global settings. |
28 |
32 |
29 <repo>/.hg/hgrc:: |
33 (Unix, Windows) <repo>/.hg/hgrc:: |
30 Per-repository configuration options that only apply in a |
34 Per-repository configuration options that only apply in a |
31 particular repository. This file is not version-controlled, and |
35 particular repository. This file is not version-controlled, and |
32 will not get transferred during a "clone" operation. Values in |
36 will not get transferred during a "clone" operation. Values in |
33 this file override global and per-user settings. |
37 this file override global and per-user settings. |
34 |
38 |