##// END OF EJS Templates
hgrc.5: mark some words as inline literals
Martin Geisler -
r9835:6a07e743 default
parent child Browse files
Show More
@@ -146,8 +146,8 b' the following format::'
146
146
147 <name>.<argument> = <value>
147 <name>.<argument> = <value>
148
148
149 where <name> is used to group arguments into authentication entries.
149 where ``<name>`` is used to group arguments into authentication
150 Example::
150 entries. Example::
151
151
152 foo.prefix = hg.intevation.org/mercurial
152 foo.prefix = hg.intevation.org/mercurial
153 foo.username = foo
153 foo.username = foo
@@ -203,10 +203,10 b' For example, to match any file ending in'
203 directory only, use the pattern ``*.txt``. To match any file ending
203 directory only, use the pattern ``*.txt``. To match any file ending
204 in ``.c`` anywhere in the repository, use the pattern ``**.c``.
204 in ``.c`` anywhere in the repository, use the pattern ``**.c``.
205
205
206 The filter command can start with a specifier, either "pipe:" or
206 The filter command can start with a specifier, either ``pipe:`` or
207 "tempfile:". If no specifier is given, "pipe:" is used by default.
207 ``tempfile:``. If no specifier is given, ``pipe:`` is used by default.
208
208
209 A "pipe:" command must accept data on stdin and return the transformed
209 A ``pipe:`` command must accept data on stdin and return the transformed
210 data on stdout.
210 data on stdout.
211
211
212 Pipe example::
212 Pipe example::
@@ -221,9 +221,9 b' Pipe example::'
221 # can safely omit "pipe:", because it's the default)
221 # can safely omit "pipe:", because it's the default)
222 *.gz = gzip
222 *.gz = gzip
223
223
224 A "tempfile:" command is a template. The string INFILE is replaced
224 A ``tempfile:`` command is a template. The string ``INFILE`` is replaced
225 with the name of a temporary file that contains the data to be
225 with the name of a temporary file that contains the data to be
226 filtered by the command. The string OUTFILE is replaced with the name
226 filtered by the command. The string ``OUTFILE`` is replaced with the name
227 of an empty temporary file, where the filtered data must be written by
227 of an empty temporary file, where the filtered data must be written by
228 the command.
228 the command.
229
229
@@ -256,7 +256,7 b' or if you only want to translate certain'
256
256
257 (defaults are deprecated. Don't use them. Use aliases instead)
257 (defaults are deprecated. Don't use them. Use aliases instead)
258
258
259 Use the [defaults] section to define command defaults, i.e. the
259 Use the ``[defaults]`` section to define command defaults, i.e. the
260 default options/arguments to pass to the specified commands.
260 default options/arguments to pass to the specified commands.
261
261
262 The following example makes ``hg log`` run in verbose mode, and ``hg
262 The following example makes ``hg log`` run in verbose mode, and ``hg
@@ -306,12 +306,12 b' Settings for extensions that send email '
306 Optional. Comma-separated list of blind carbon copy recipients'
306 Optional. Comma-separated list of blind carbon copy recipients'
307 email addresses. Cannot be set interactively.
307 email addresses. Cannot be set interactively.
308 ``method``
308 ``method``
309 Optional. Method to use to send email messages. If value is "smtp"
309 Optional. Method to use to send email messages. If value is ``smtp``
310 (default), use SMTP (see the SMTP_ section for configuration).
310 (default), use SMTP (see the SMTP_ section for configuration).
311 Otherwise, use as name of program to run that acts like sendmail
311 Otherwise, use as name of program to run that acts like sendmail
312 (takes "-f" option for sender, list of recipients on command line,
312 (takes ``-f`` option for sender, list of recipients on command line,
313 message on stdin). Normally, setting this to "sendmail" or
313 message on stdin). Normally, setting this to ``sendmail`` or
314 "/usr/sbin/sendmail" is enough to use sendmail to send messages.
314 ``/usr/sbin/sendmail`` is enough to use sendmail to send messages.
315 ``charsets``
315 ``charsets``
316 Optional. Comma-separated list of character sets considered
316 Optional. Comma-separated list of character sets considered
317 convenient for recipients. Addresses, headers, and parts not
317 convenient for recipients. Addresses, headers, and parts not
@@ -590,7 +590,7 b' The syntax for Python hooks is as follow'
590
590
591 Python hooks are run within the Mercurial process. Each hook is
591 Python hooks are run within the Mercurial process. Each hook is
592 called with at least three keyword arguments: a ui object (keyword
592 called with at least three keyword arguments: a ui object (keyword
593 "ui"), a repository object (keyword "repo"), and a "hooktype"
593 ``ui``), a repository object (keyword ``repo``), and a ``hooktype``
594 keyword that tells what kind of hook is used. Arguments listed as
594 keyword that tells what kind of hook is used. Arguments listed as
595 environment variables above are passed as keyword arguments, with no
595 environment variables above are passed as keyword arguments, with no
596 ``HG_`` prefix, and names in lower case.
596 ``HG_`` prefix, and names in lower case.
General Comments 0
You need to be logged in to leave comments. Login now