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