comparison doc/hgrc.5.txt @ 3010:494521a3f142

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.
author Alexis S. L. Carvalho <alexis@cecm.usp.br>
date Tue, 22 Aug 2006 20:45:03 -0300
parents 63c3a1921a67
children b9dbbcf8a488 c27d1e1798a3
comparison
equal deleted inserted replaced
3009:abcd6ae3cf5a 3010:494521a3f142
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
347 uncompressed streaming clone is a lot faster (~10x) than a regular 349 uncompressed streaming clone is a lot faster (~10x) than a regular
348 clone. Over most WAN connections (anything slower than about 350 clone. Over most WAN connections (anything slower than about
349 6Mbps), uncompressed streaming is slower, because of the extra 351 6Mbps), uncompressed streaming is slower, because of the extra
350 data transfer overhead. Default is False. 352 data transfer overhead. Default is False.
351 353
354 trusted::
355 Mercurial will only read the .hg/hgrc file from a repository if
356 it belongs to a trusted user or to a trusted group. This section
357 specifies what users and groups are trusted. To trust everybody,
358 list a user or a group with name "*".
359 users;;
360 Comma-separated list of trusted users.
361 groups;;
362 Comma-separated list of trusted groups.
363
352 ui:: 364 ui::
353 User interface controls. 365 User interface controls.
354 debug;; 366 debug;;
355 Print debugging information. True or False. Default is False. 367 Print debugging information. True or False. Default is False.
356 editor;; 368 editor;;