Show More
@@ -261,8 +261,8 b' or if you only want to translate certain' | |||||
261 | Use the [defaults] section to define command defaults, i.e. the |
|
261 | Use the [defaults] section to define command defaults, i.e. the | |
262 | default options/arguments to pass to the specified commands. |
|
262 | default options/arguments to pass to the specified commands. | |
263 |
|
263 | |||
264 |
The following example makes |
|
264 | The following example makes ``hg log`` run in verbose mode, and ``hg | |
265 |
status |
|
265 | status`` show only the modified files, by default:: | |
266 |
|
266 | |||
267 | [defaults] |
|
267 | [defaults] | |
268 | log = -v |
|
268 | log = -v | |
@@ -491,7 +491,7 b' Example ``.hg/hgrc``::' | |||||
491 |
|
491 | |||
492 | Most hooks are run with environment variables set that give useful |
|
492 | Most hooks are run with environment variables set that give useful | |
493 | additional information. For each hook below, the environment |
|
493 | additional information. For each hook below, the environment | |
494 |
variables it is passed are listed with names of the form |
|
494 | variables it is passed are listed with names of the form ``$HG_foo``. | |
495 |
|
495 | |||
496 | ``changegroup`` |
|
496 | ``changegroup`` | |
497 | Run after a changegroup has been added via push, pull or unbundle. |
|
497 | Run after a changegroup has been added via push, pull or unbundle. | |
@@ -646,7 +646,7 b' command or with Mercurial Queues extensi' | |||||
646 |
|
646 | |||
647 | ``eol`` |
|
647 | ``eol`` | |
648 | When set to 'strict' patch content and patched files end of lines |
|
648 | When set to 'strict' patch content and patched files end of lines | |
649 |
are preserved. When set to |
|
649 | are preserved. When set to ``lf`` or ``crlf``, both files end of lines | |
650 | are ignored when patching and the result line endings are |
|
650 | are ignored when patching and the result line endings are | |
651 | normalized to either LF (Unix) or CRLF (Windows). |
|
651 | normalized to either LF (Unix) or CRLF (Windows). | |
652 | Default: strict. |
|
652 | Default: strict. | |
@@ -745,7 +745,7 b' User interface controls.' | |||||
745 | ``debug`` |
|
745 | ``debug`` | |
746 | Print debugging information. True or False. Default is False. |
|
746 | Print debugging information. True or False. Default is False. | |
747 | ``editor`` |
|
747 | ``editor`` | |
748 |
The editor to use during a commit. Default is ``$EDITOR`` or |
|
748 | The editor to use during a commit. Default is ``$EDITOR`` or ``vi``. | |
749 | ``fallbackencoding`` |
|
749 | ``fallbackencoding`` | |
750 | Encoding to try if it's not possible to decode the changelog using |
|
750 | Encoding to try if it's not possible to decode the changelog using | |
751 | UTF-8. Default is ISO-8859-1. |
|
751 | UTF-8. Default is ISO-8859-1. | |
@@ -777,12 +777,12 b' For more information on configuring merg' | |||||
777 | merge-tools_ section. |
|
777 | merge-tools_ section. | |
778 |
|
778 | |||
779 | ``patch`` |
|
779 | ``patch`` | |
780 |
command to use to apply patches. Look for |
|
780 | command to use to apply patches. Look for ``gpatch`` or ``patch`` in | |
781 | PATH if unset. |
|
781 | PATH if unset. | |
782 | ``quiet`` |
|
782 | ``quiet`` | |
783 | Reduce the amount of output printed. True or False. Default is False. |
|
783 | Reduce the amount of output printed. True or False. Default is False. | |
784 | ``remotecmd`` |
|
784 | ``remotecmd`` | |
785 |
remote command to use for clone/push/pull operations. Default is |
|
785 | remote command to use for clone/push/pull operations. Default is ``hg``. | |
786 | ``report_untrusted`` |
|
786 | ``report_untrusted`` | |
787 | Warn if a ``.hg/hgrc`` file is ignored due to not being owned by a |
|
787 | Warn if a ``.hg/hgrc`` file is ignored due to not being owned by a | |
788 | trusted user or group. True or False. Default is True. |
|
788 | trusted user or group. True or False. Default is True. | |
@@ -793,7 +793,7 b' merge-tools_ section.' | |||||
793 | backslash character (``\``)). |
|
793 | backslash character (``\``)). | |
794 | Default is False. |
|
794 | Default is False. | |
795 | ``ssh`` |
|
795 | ``ssh`` | |
796 |
command to use for SSH connections. Default is |
|
796 | command to use for SSH connections. Default is ``ssh``. | |
797 | ``strict`` |
|
797 | ``strict`` | |
798 | Require exact command names, instead of allowing unambiguous |
|
798 | Require exact command names, instead of allowing unambiguous | |
799 | abbreviations. True or False. Default is False. |
|
799 | abbreviations. True or False. Default is False. | |
@@ -813,7 +813,7 b' merge-tools_ section.' | |||||
813 | <fred@example.com>``. Default is ``$EMAIL`` or ``username@hostname``. If |
|
813 | <fred@example.com>``. Default is ``$EMAIL`` or ``username@hostname``. If | |
814 | the username in hgrc is empty, it has to be specified manually or |
|
814 | the username in hgrc is empty, it has to be specified manually or | |
815 | in a different hgrc file (e.g. ``$HOME/.hgrc``, if the admin set |
|
815 | in a different hgrc file (e.g. ``$HOME/.hgrc``, if the admin set | |
816 |
|
|
816 | ``username =`` in the system hgrc). | |
817 | ``verbose`` |
|
817 | ``verbose`` | |
818 | Increase the amount of output printed. True or False. Default is False. |
|
818 | Increase the amount of output printed. True or False. Default is False. | |
819 |
|
819 | |||
@@ -844,7 +844,7 b' Web interface configuration.' | |||||
844 | push is not allowed. If the special value ``*``, any remote user can |
|
844 | push is not allowed. If the special value ``*``, any remote user can | |
845 | push, including unauthenticated users. Otherwise, the remote user |
|
845 | push, including unauthenticated users. Otherwise, the remote user | |
846 | must have been authenticated, and the authenticated user name must |
|
846 | must have been authenticated, and the authenticated user name must | |
847 |
be present in this list (separated by whitespace or |
|
847 | be present in this list (separated by whitespace or ``,``). The | |
848 | contents of the allow_push list are examined after the deny_push |
|
848 | contents of the allow_push list are examined after the deny_push | |
849 | list. |
|
849 | list. | |
850 | ``allow_read`` |
|
850 | ``allow_read`` | |
@@ -852,7 +852,7 b' Web interface configuration.' | |||||
852 | the contents of deny_read, this list determines whether to grant |
|
852 | the contents of deny_read, this list determines whether to grant | |
853 | repository access to the user. If this list is not empty, and the |
|
853 | repository access to the user. If this list is not empty, and the | |
854 | user is unauthenticated or not present in the list (separated by |
|
854 | user is unauthenticated or not present in the list (separated by | |
855 |
whitespace or |
|
855 | whitespace or ``,``), then access is denied for the user. If the | |
856 | list is empty or not set, then access is permitted to all users by |
|
856 | list is empty or not set, then access is permitted to all users by | |
857 | default. Setting allow_read to the special value ``*`` is equivalent |
|
857 | default. Setting allow_read to the special value ``*`` is equivalent | |
858 | to it not being set (i.e. access is permitted to all users). The |
|
858 | to it not being set (i.e. access is permitted to all users). The | |
@@ -873,13 +873,13 b' Web interface configuration.' | |||||
873 | push is not denied. If the special value ``*``, all remote users are |
|
873 | push is not denied. If the special value ``*``, all remote users are | |
874 | denied push. Otherwise, unauthenticated users are all denied, and |
|
874 | denied push. Otherwise, unauthenticated users are all denied, and | |
875 | any authenticated user name present in this list (separated by |
|
875 | any authenticated user name present in this list (separated by | |
876 |
whitespace or |
|
876 | whitespace or ``,``) is also denied. The contents of the deny_push | |
877 | list are examined before the allow_push list. |
|
877 | list are examined before the allow_push list. | |
878 | ``deny_read`` |
|
878 | ``deny_read`` | |
879 | Whether to deny reading/viewing of the repository. If this list is |
|
879 | Whether to deny reading/viewing of the repository. If this list is | |
880 | not empty, unauthenticated users are all denied, and any |
|
880 | not empty, unauthenticated users are all denied, and any | |
881 | authenticated user name present in this list (separated by |
|
881 | authenticated user name present in this list (separated by | |
882 |
whitespace or |
|
882 | whitespace or ``,``) is also denied access to the repository. If set | |
883 | to the special value ``*``, all remote users are denied access |
|
883 | to the special value ``*``, all remote users are denied access | |
884 | (rarely needed ;). If deny_read is empty or not set, the |
|
884 | (rarely needed ;). If deny_read is empty or not set, the | |
885 | determination of repository access depends on the presence and |
|
885 | determination of repository access depends on the presence and |
General Comments 0
You need to be logged in to leave comments.
Login now