Mercurial > hg > mercurial-crew-with-dirclash
comparison doc/hgrc.5.txt @ 951:859de3ebc041
Read global config file /etc/mercurial/hgrc and fix reading hgrc on Windows.
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Thu, 18 Aug 2005 21:35:36 +0100 |
parents | 54b2a42e501e |
children | 52d8d81e72ad |
comparison
equal
deleted
inserted
replaced
950:fbaf0380efd1 | 951:859de3ebc041 |
---|---|
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 two files: | 18 Mercurial reads configuration data from three files: |
19 | |
20 /etc/mercurial/hgrc:: | |
21 Options in this global configuration file apply to all Mercurial | |
22 commands executed by any user in any directory. | |
19 | 23 |
20 $HOME/.hgrc:: | 24 $HOME/.hgrc:: |
21 Global configuration options that apply to all Mercurial commands, | 25 Per-user configuration options that apply to all Mercurial commands, |
22 no matter where they are run. | 26 no matter from which directory they are run. Values in this file |
27 override global settings. | |
23 | 28 |
24 <repo>/.hg/hgrc:: | 29 <repo>/.hg/hgrc:: |
25 Per-repository configuration options that only apply in a | 30 Per-repository configuration options that only apply in a |
26 particular repository. This file is not version-controlled, and | 31 particular repository. This file is not version-controlled, and |
27 will not get transferred during a "clone" operation. Values in | 32 will not get transferred during a "clone" operation. Values in |
28 this file override global values. | 33 this file override global and per-user settings. |
29 | 34 |
30 SYNTAX | 35 SYNTAX |
31 ------ | 36 ------ |
32 | 37 |
33 A configuration file consists of sections, led by a "[section]" header | 38 A configuration file consists of sections, led by a "[section]" header |