Mercurial > hg
comparison doc/hgrc.5.txt @ 3551:3b07e223534b
Only read .hg/hgrc files from trusted users/groups
The list of trusted users and groups is specified in the [trusted]
section of a hgrc; the current user is always trusted; "*" can be
used to trust all users/groups.
Global hgrc files are always read.
On Windows (and other systems that don't have the pwd and grp modules),
all .hg/hgrc files are read.
This is essentially the same patch that was previously applied as
revision 494521a3f142.
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Thu, 26 Oct 2006 19:25:44 +0200 |
parents | c3345b0f2fcd |
children | 9b52239dc740 |
comparison
equal
deleted
inserted
replaced
3550:ef80b13df85a | 3551:3b07e223534b |
---|---|
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 | |
54 or to a trusted group. | |
53 | 55 |
54 SYNTAX | 56 SYNTAX |
55 ------ | 57 ------ |
56 | 58 |
57 A configuration file consists of sections, led by a "[section]" header | 59 A configuration file consists of sections, led by a "[section]" header |
362 uncompressed streaming clone is a lot faster (~10x) than a regular | 364 uncompressed streaming clone is a lot faster (~10x) than a regular |
363 clone. Over most WAN connections (anything slower than about | 365 clone. Over most WAN connections (anything slower than about |
364 6Mbps), uncompressed streaming is slower, because of the extra | 366 6Mbps), uncompressed streaming is slower, because of the extra |
365 data transfer overhead. Default is False. | 367 data transfer overhead. Default is False. |
366 | 368 |
369 trusted:: | |
370 Mercurial will only read the .hg/hgrc file from a repository if | |
371 it belongs to a trusted user or to a trusted group. This section | |
372 specifies what users and groups are trusted. The current user is | |
373 always trusted. To trust everybody, list a user or a group with | |
374 name "*". | |
375 users;; | |
376 Comma-separated list of trusted users. | |
377 groups;; | |
378 Comma-separated list of trusted groups. | |
379 | |
367 ui:: | 380 ui:: |
368 User interface controls. | 381 User interface controls. |
369 debug;; | 382 debug;; |
370 Print debugging information. True or False. Default is False. | 383 Print debugging information. True or False. Default is False. |
371 editor;; | 384 editor;; |