Mercurial > hg
comparison doc/hgrc.5.txt @ 953:52d8d81e72ad
Merge with TAH
author | mpm@selenic.com |
---|---|
date | Fri, 19 Aug 2005 16:45:25 -0800 |
parents | ffb0665028f0 859de3ebc041 |
children | 5730e90c025b |
comparison
equal
deleted
inserted
replaced
948:ffb0665028f0 | 953:52d8d81e72ad |
---|---|
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 |