48 (Unix, Windows) <repo>/.hg/hgrc:: |
48 (Unix, Windows) <repo>/.hg/hgrc:: |
49 Per-repository configuration options that only apply in a |
49 Per-repository configuration options that only apply in a |
50 particular repository. This file is not version-controlled, and |
50 particular repository. This file is not version-controlled, and |
51 will not get transferred during a "clone" operation. Options in |
51 will not get transferred during a "clone" operation. Options in |
52 this file override options in all other configuration files. |
52 this file override options in all other configuration files. |
53 On Unix, this file is only read if it belongs to a trusted user |
53 On Unix, most of this file will be ignored if it doesn't belong |
54 or to a trusted group. |
54 to a trusted user or to a trusted group. See the documentation |
|
55 for the trusted section below for more details. |
55 |
56 |
56 SYNTAX |
57 SYNTAX |
57 ------ |
58 ------ |
58 |
59 |
59 A configuration file consists of sections, led by a "[section]" header |
60 A configuration file consists of sections, led by a "[section]" header |
365 clone. Over most WAN connections (anything slower than about |
366 clone. Over most WAN connections (anything slower than about |
366 6Mbps), uncompressed streaming is slower, because of the extra |
367 6Mbps), uncompressed streaming is slower, because of the extra |
367 data transfer overhead. Default is False. |
368 data transfer overhead. Default is False. |
368 |
369 |
369 trusted:: |
370 trusted:: |
370 Mercurial will only read the .hg/hgrc file from a repository if |
371 For security reasons, Mercurial will not use the settings in |
371 it belongs to a trusted user or to a trusted group. This section |
372 the .hg/hgrc file from a repository if it doesn't belong to a |
372 specifies what users and groups are trusted. The current user is |
373 trusted user or to a trusted group. The main exception is the |
373 always trusted. To trust everybody, list a user or a group with |
374 web interface, which automatically uses some safe settings, since |
374 name "*". |
375 it's common to serve repositories from different users. |
|
376 |
|
377 This section specifies what users and groups are trusted. The |
|
378 current user is always trusted. To trust everybody, list a user |
|
379 or a group with name "*". |
|
380 |
375 users;; |
381 users;; |
376 Comma-separated list of trusted users. |
382 Comma-separated list of trusted users. |
377 groups;; |
383 groups;; |
378 Comma-separated list of trusted groups. |
384 Comma-separated list of trusted groups. |
379 |
385 |