##// END OF EJS Templates
doc/hgrc.5.txt: add anchors for sections...
Adrian Buehlmann <adrian at cadifra.com> -
r6614:944a292d default
parent child Browse files
Show More
@@ -100,6 +100,7 b' This section describes the different sec'
100 Mercurial "hgrc" file, the purpose of each section, its possible
100 Mercurial "hgrc" file, the purpose of each section, its possible
101 keys, and their possible values.
101 keys, and their possible values.
102
102
103 [[decode]]
103 decode/encode::
104 decode/encode::
104 Filters for transforming files on checkout/checkin. This would
105 Filters for transforming files on checkout/checkin. This would
105 typically be used for newline processing or other
106 typically be used for newline processing or other
@@ -158,6 +159,7 b' decode/encode::'
158 [decode]
159 [decode]
159 **.txt = dumbdecode:
160 **.txt = dumbdecode:
160
161
162 [[defaults]]
161 defaults::
163 defaults::
162 Use the [defaults] section to define command defaults, i.e. the
164 Use the [defaults] section to define command defaults, i.e. the
163 default options/arguments to pass to the specified commands.
165 default options/arguments to pass to the specified commands.
@@ -173,6 +175,7 b' defaults::'
173 defining command defaults. The command defaults will also be
175 defining command defaults. The command defaults will also be
174 applied to the aliases of the commands defined.
176 applied to the aliases of the commands defined.
175
177
178 [[diff]]
176 diff::
179 diff::
177 Settings used when displaying diffs. They are all boolean and
180 Settings used when displaying diffs. They are all boolean and
178 defaults to False.
181 defaults to False.
@@ -189,6 +192,7 b' diff::'
189 ignoreblanklines;;
192 ignoreblanklines;;
190 Ignore changes whose lines are all blank.
193 Ignore changes whose lines are all blank.
191
194
195 [[email]]
192 email::
196 email::
193 Settings for extensions that send email messages.
197 Settings for extensions that send email messages.
194 from;;
198 from;;
@@ -217,6 +221,7 b' email::'
217 from = Joseph User <joe.user@example.com>
221 from = Joseph User <joe.user@example.com>
218 method = /usr/sbin/sendmail
222 method = /usr/sbin/sendmail
219
223
224 [[extensions]]
220 extensions::
225 extensions::
221 Mercurial has an extension mechanism for adding new features. To
226 Mercurial has an extension mechanism for adding new features. To
222 enable an extension, create an entry for it in this section.
227 enable an extension, create an entry for it in this section.
@@ -241,6 +246,7 b' extensions::'
241 # (this extension will get loaded from the file specified)
246 # (this extension will get loaded from the file specified)
242 myfeature = ~/.hgext/myfeature.py
247 myfeature = ~/.hgext/myfeature.py
243
248
249 [[format]]
244 format::
250 format::
245
251
246 usestore;;
252 usestore;;
@@ -250,6 +256,7 b' format::'
250 you to store longer filenames in some situations at the expense of
256 you to store longer filenames in some situations at the expense of
251 compatibility.
257 compatibility.
252
258
259 [[merge-patterns]]
253 merge-patterns::
260 merge-patterns::
254 This section specifies merge tools to associate with particular file
261 This section specifies merge tools to associate with particular file
255 patterns. Tools matched here will take precedence over the default
262 patterns. Tools matched here will take precedence over the default
@@ -261,6 +268,7 b' merge-patterns::'
261 **.c = kdiff3
268 **.c = kdiff3
262 **.jpg = myimgmerge
269 **.jpg = myimgmerge
263
270
271 [[merge-tools]]
264 merge-tools::
272 merge-tools::
265 This section configures external merge tools to use for file-level
273 This section configures external merge tools to use for file-level
266 merges.
274 merges.
@@ -327,6 +335,7 b' merge-tools::'
327 String to append to the value read from the registry, typically the
335 String to append to the value read from the registry, typically the
328 executable name of the tool. Default: None
336 executable name of the tool. Default: None
329
337
338 [[hooks]]
330 hooks::
339 hooks::
331 Commands or Python functions that get automatically executed by
340 Commands or Python functions that get automatically executed by
332 various actions such as starting or finishing a commit. Multiple
341 various actions such as starting or finishing a commit. Multiple
@@ -449,6 +458,7 b' hooks::'
449 If a Python hook returns a "true" value or raises an exception, this
458 If a Python hook returns a "true" value or raises an exception, this
450 is treated as failure of the hook.
459 is treated as failure of the hook.
451
460
461 [[http_proxy]]
452 http_proxy::
462 http_proxy::
453 Used to access web-based Mercurial repositories through a HTTP
463 Used to access web-based Mercurial repositories through a HTTP
454 proxy.
464 proxy.
@@ -463,6 +473,7 b' http_proxy::'
463 user;;
473 user;;
464 Optional. User name to authenticate with at the proxy server.
474 Optional. User name to authenticate with at the proxy server.
465
475
476 [[smtp]]
466 smtp::
477 smtp::
467 Configuration for extensions that need to send email messages.
478 Configuration for extensions that need to send email messages.
468 host;;
479 host;;
@@ -484,6 +495,7 b' smtp::'
484 Optional. It's the hostname that the sender can use to identify itself
495 Optional. It's the hostname that the sender can use to identify itself
485 to the MTA.
496 to the MTA.
486
497
498 [[paths]]
487 paths::
499 paths::
488 Assigns symbolic names to repositories. The left side is the
500 Assigns symbolic names to repositories. The left side is the
489 symbolic name, and the right gives the directory or URL that is the
501 symbolic name, and the right gives the directory or URL that is the
@@ -497,6 +509,7 b' paths::'
497 Optional. Directory or URL to use when pushing if no destination
509 Optional. Directory or URL to use when pushing if no destination
498 is specified.
510 is specified.
499
511
512 [[server]]
500 server::
513 server::
501 Controls generic server settings.
514 Controls generic server settings.
502 uncompressed;;
515 uncompressed;;
@@ -509,6 +522,7 b' server::'
509 6Mbps), uncompressed streaming is slower, because of the extra
522 6Mbps), uncompressed streaming is slower, because of the extra
510 data transfer overhead. Default is False.
523 data transfer overhead. Default is False.
511
524
525 [[trusted]]
512 trusted::
526 trusted::
513 For security reasons, Mercurial will not use the settings in
527 For security reasons, Mercurial will not use the settings in
514 the .hg/hgrc file from a repository if it doesn't belong to a
528 the .hg/hgrc file from a repository if it doesn't belong to a
@@ -525,6 +539,7 b' trusted::'
525 groups;;
539 groups;;
526 Comma-separated list of trusted groups.
540 Comma-separated list of trusted groups.
527
541
542 [[ui]]
528 ui::
543 ui::
529 User interface controls.
544 User interface controls.
530 archivemeta;;
545 archivemeta;;
@@ -601,6 +616,7 b' ui::'
601 Increase the amount of output printed. True or False. Default is False.
616 Increase the amount of output printed. True or False. Default is False.
602
617
603
618
619 [[web]]
604 web::
620 web::
605 Web interface configuration.
621 Web interface configuration.
606 accesslog;;
622 accesslog;;
General Comments 0
You need to be logged in to leave comments. Login now