{
    "content": [
        {
            "type": "text",
            "text": "# hgrc(5) (man)\n\n**Summary:** hgrc - configuration files for Mercurial\n\n## See Also\n\n- hg(1)\n- hgignore(5)\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **DESCRIPTION** (2 lines)\n- **TROUBLESHOOTING** (6 lines)\n- **STRUCTURE** (10 lines)\n- **FILES** (123 lines)\n- **SYNTAX** (73 lines)\n- **SECTIONS** (3 lines) — 334 subsections\n  - alias (50 lines)\n  - annotate (3 lines)\n  - ignorews (2 lines)\n  - ignorewseol (2 lines)\n  - ignorewsamount (2 lines)\n  - ignoreblanklines (2 lines)\n  - auth (6 lines)\n  - cookiefile (32 lines)\n  - prefix (6 lines)\n  - username (6 lines)\n  - password (3 lines)\n  - key (3 lines)\n  - cert (3 lines)\n  - schemes (8 lines)\n  - cmdserver (2 lines)\n  - message-encodings (4 lines)\n  - shutdown-on-interrupt (4 lines)\n  - color (3 lines)\n  - mode (4 lines)\n  - pagermode (11 lines)\n  - commands (1 lines)\n  - commit.post-status (3 lines)\n  - merge.require-rev (4 lines)\n  - push.require-revs (5 lines)\n  - resolve.confirm (2 lines)\n  - resolve.explicit-re-merge (3 lines)\n  - resolve.mark-check (7 lines)\n  - status.relative (2 lines)\n  - status.terse (2 lines)\n  - update.check (15 lines)\n  - update.requiredest (3 lines)\n  - committemplate (1 lines)\n  - changeset (6 lines)\n  - extramsg (20 lines)\n  - diff() (125 lines)\n  - decode/encode (38 lines)\n  - defaults (15 lines)\n  - diff (3 lines)\n  - git (2 lines)\n  - nobinary (2 lines)\n  - nodates (2 lines)\n  - noprefix (2 lines)\n  - showfunc (2 lines)\n  - ignorews (2 lines)\n  - ignorewsamount (2 lines)\n  - ignoreblanklines (2 lines)\n  - unified (2 lines)\n  - word-diff (2 lines)\n  - email (2 lines)\n  - from (11 lines)\n  - bcc (2 lines)\n  - method (6 lines)\n  - charsets (27 lines)\n  - extensions (36 lines)\n  - format (8 lines)\n  - usegeneraldelta (9 lines)\n  - dotencode (8 lines)\n  - usefncache (8 lines)\n  - use-dirstate-v2 (26 lines)\n  - use-dirstate-tracked-hint (28 lines)\n  - use-persistent-nodemap (27 lines)\n  - use-share-safe (26 lines)\n  - usestore (8 lines)\n  - sparse-revlog (9 lines)\n  - revlog-compression (9 lines)\n  - bookmarks-in-store (7 lines)\n  - graph (17 lines)\n  - width (2 lines)\n  - color (2 lines)\n  - hooks (45 lines)\n  - changegroup (4 lines)\n  - commit (4 lines)\n  - incoming (4 lines)\n  - outgoing (4 lines)\n  - post-<command> (7 lines)\n  - fail-<command> (6 lines)\n  - pre-<command> (7 lines)\n  - prechangegroup (4 lines)\n  - precommit (4 lines)\n  - prelistkeys (3 lines)\n  - preoutgoing (8 lines)\n  - prepushkey (4 lines)\n  - pretag (5 lines)\n  - pretxnopen (4 lines)\n  - pretxnclose (12 lines)\n  - pretxnclose-bookmark (10 lines)\n  - pretxnclose-phase (11 lines)\n  - txnclose (4 lines)\n  - txnclose-bookmark (4 lines)\n  - txnclose-phase (4 lines)\n  - txnabort (3 lines)\n  - pretxnchangegroup (8 lines)\n  - pretxncommit (6 lines)\n  - preupdate (4 lines)\n  - listkeys (3 lines)\n  - pushkey (4 lines)\n  - tag (4 lines)\n  - update (26 lines)\n  - hostfingerprints (20 lines)\n  - hostsecurity (4 lines)\n  - ciphers (10 lines)\n  - minimumprotocol (18 lines)\n  - ciphers (3 lines)\n  - fingerprints (17 lines)\n  - minimumprotocol (3 lines)\n  - verifycertsfile (39 lines)\n  - host (6 lines)\n  - passwd (2 lines)\n  - user (2 lines)\n  - always (3 lines)\n  - http (2 lines)\n  - timeout (2 lines)\n  - merge (2 lines)\n  - checkignored (6 lines)\n  - checkunknown (4 lines)\n  - on-failure (8 lines)\n  - strict-capability-check (3 lines)\n  - merge-patterns (10 lines)\n  - merge-tools (27 lines)\n  - priority (2 lines)\n  - executable (6 lines)\n  - args (14 lines)\n  - premerge (8 lines)\n  - binary (3 lines)\n  - symlink (2 lines)\n  - check (14 lines)\n  - fixeol (2 lines)\n  - gui (2 lines)\n  - mergemarkers (6 lines)\n  - mergemarkertemplate (5 lines)\n  - regkey (4 lines)\n  - regkeyalt (5 lines)\n  - regname (3 lines)\n  - regappend (3 lines)\n  - pager (3 lines)\n  - pager (9 lines)\n  - ignore (5 lines)\n  - patch (3 lines)\n  - eol (7 lines)\n  - fuzz (3 lines)\n  - paths (25 lines)\n  - multi-urls (4 lines)\n  - pushurl (3 lines)\n  - pushrev (9 lines)\n  - bookmarks.mode (11 lines)\n  - default (5 lines)\n  - default-push (3 lines)\n  - phases (3 lines)\n  - publish (4 lines)\n  - new-commit (2 lines)\n  - checksubrepos (8 lines)\n  - profiling (7 lines)\n  - enabled (4 lines)\n  - type (14 lines)\n  - format (12 lines)\n  - statformat (19 lines)\n  - freq (2 lines)\n  - output (3 lines)\n  - sort (3 lines)\n  - time-track (3 lines)\n  - limit (2 lines)\n  - nested (4 lines)\n  - showmin (10 lines)\n  - showmax (9 lines)\n  - showtime (3 lines)\n  - progress (3 lines)\n  - debug (2 lines)\n  - delay (2 lines)\n  - changedelay (3 lines)\n  - estimateinterval (3 lines)\n  - refresh (2 lines)\n  - format (9 lines)\n  - width (3 lines)\n  - clear-complete (2 lines)\n  - disable (2 lines)\n  - assume-tty (2 lines)\n  - rebase (1 lines)\n  - evolution.allowdivergence (3 lines)\n  - revsetalias (2 lines)\n  - rewrite (1 lines)\n  - backup-bundle (2 lines)\n  - update-timestamp (3 lines)\n  - empty-successor (7 lines)\n  - share (1 lines)\n  - safe-mismatch.source-safe (12 lines)\n  - safe-mismatch.source-safe.warn (3 lines)\n  - safe-mismatch.source-not-safe (12 lines)\n  - safe-mismatch.source-not-safe.warn (3 lines)\n  - storage (3 lines)\n  - revlog.issue6528.fix-incoming (12 lines)\n  - revlog.optimize-delta-parent-choice (7 lines)\n  - revlog.persistent-nodemap.mmap (8 lines)\n  - revlog.persistent-nodemap.slow-path (10 lines)\n  - revlog.reuse-external-delta-parent (19 lines)\n  - revlog.reuse-external-delta (14 lines)\n  - revlog.zlib.level (3 lines)\n  - revlog.zstd.level (3 lines)\n  - server (2 lines)\n  - bookmarks-pushkey-compat (6 lines)\n  - compressionengines (12 lines)\n  - uncompressed (8 lines)\n  - uncompressedallowsecret (3 lines)\n  - preferuncompressed (3 lines)\n  - disablefullbundle (4 lines)\n  - streamunbundle (3 lines)\n  - pullbundle (6 lines)\n  - concurrent-push-mode (11 lines)\n  - validate (3 lines)\n  - maxhttpheaderlen (3 lines)\n  - bundle1 (3 lines)\n  - bundle1gd (3 lines)\n  - bundle1.push (3 lines)\n  - bundle1gd.push (3 lines)\n  - bundle1.pull (3 lines)\n  - bundle1gd.pull (7 lines)\n  - bundle2.stream (3 lines)\n  - zliblevel (13 lines)\n  - zstdlevel (11 lines)\n  - view (5 lines)\n  - smtp (2 lines)\n  - host (2 lines)\n  - port (3 lines)\n  - tls (3 lines)\n  - username (2 lines)\n  - password (8 lines)\n  - subpaths (17 lines)\n  - subrepos (8 lines)\n  - allowed (5 lines)\n  - hg:allowed (3 lines)\n  - git:allowed (5 lines)\n  - svn:allowed (5 lines)\n  - templatealias (2 lines)\n  - templates (2 lines)\n  - trusted (11 lines)\n  - users (2 lines)\n  - groups (5 lines)\n  - archivemeta (4 lines)\n  - askusername (4 lines)\n  - clonebundles (9 lines)\n  - clonebundlefallback (12 lines)\n  - clonebundleprefers (21 lines)\n  - color (4 lines)\n  - commitsubrepos (4 lines)\n  - debug (2 lines)\n  - editor (2 lines)\n  - fallbackencoding (3 lines)\n  - graphnodetemplate (2 lines)\n  - ignore (6 lines)\n  - interactive (2 lines)\n  - interface (3 lines)\n  - interface.chunkselector (3 lines)\n  - large-file-limit (3 lines)\n  - logtemplate (2 lines)\n  - merge (4 lines)\n  - mergemarkers (4 lines)\n  - mergemarkertemplate (2 lines)\n  - message-output (14 lines)\n  - origbackuppath (4 lines)\n  - paginate (3 lines)\n  - patch (10 lines)\n  - portablefilenames (27 lines)\n  - pre-merge-tool-output-template (2 lines)\n  - quiet (2 lines)\n  - relative-paths (2 lines)\n  - remotecmd (7 lines)\n  - slash (6 lines)\n  - statuscopies (2 lines)\n  - ssh (2 lines)\n  - ssherrorhint (3 lines)\n  - strict (3 lines)\n  - style (2 lines)\n  - supportcontact (4 lines)\n  - textwidth (5 lines)\n  - timeout (3 lines)\n  - timeout.warn (3 lines)\n  - traceback (4 lines)\n  - tweakdefaults (32 lines)\n  - username (8 lines)\n  - verbose (2 lines)\n  - command-templates (2 lines)\n  - graphnode (3 lines)\n  - log (2 lines)\n  - mergemarker (15 lines)\n  - oneline-summary (7 lines)\n  - pre-merge-tool-output (7 lines)\n  - web (19 lines)\n  - accesslog (2 lines)\n  - address (2 lines)\n  - allow-archive (2 lines)\n  - allowbz2 (3 lines)\n  - allowgz (3 lines)\n  - allow-pull (2 lines)\n  - allow-push (16 lines)\n  - allowzip (3 lines)\n  - archivesubrepos (2 lines)\n  - baseurl (3 lines)\n  - cacerts (18 lines)\n  - cache (2 lines)\n  - certificate (2 lines)\n  - collapse (7 lines)\n  - comparisoncontext (6 lines)\n  - contact (3 lines)\n  - csp (31 lines)\n  - descend (4 lines)\n  - description (2 lines)\n  - encoding (2 lines)\n  - errorlog (2 lines)\n  - guessmime (5 lines)\n  - hidden (2 lines)\n  - ipv6 (2 lines)\n  - labels (6 lines)\n  - logoimg (4 lines)\n  - logourl (2 lines)\n  - maxchanges (2 lines)\n  - maxfiles (2 lines)\n  - maxshortchanges (3 lines)\n  - name (2 lines)\n  - port (2 lines)\n  - prefix (7 lines)\n  - refreshinterval (6 lines)\n  - server-header (2 lines)\n  - static (2 lines)\n  - staticurl (4 lines)\n  - stripes (3 lines)\n  - style (3 lines)\n  - templates (3 lines)\n  - websub (26 lines)\n  - worker (3 lines)\n  - enabled (2 lines)\n  - numcpus (4 lines)\n  - backgroundclose (5 lines)\n  - backgroundcloseminfilecount (3 lines)\n  - backgroundclosemaxqueue (3 lines)\n  - backgroundclosethreadcount (3 lines)\n- **AUTHOR** (8 lines)\n- **SEE ALSO** (2 lines)\n- **COPYING** (4 lines)\n\n## Full Content\n\n### NAME\n\nhgrc - configuration files for Mercurial\n\n### DESCRIPTION\n\nThe Mercurial system uses a set of configuration files to control aspects of its behavior.\n\n### TROUBLESHOOTING\n\nIf you're having problems with your configuration, hg config --source can help you understand\nwhat is introducing a setting into your environment.\n\nSee hg help config.syntax and hg help config.files for information about  how  and  where  to\noverride things.\n\n### STRUCTURE\n\nThe  configuration  files use a simple ini-file format. A configuration file consists of sec‐\ntions, led by a [section] header and followed by name = value entries:\n\n[ui]\nusername = Firstname Lastname <firstname.lastname@example.net>\nverbose = True\n\nThe above entries will be referred to as ui.username and  ui.verbose,  respectively.  See  hg\nhelp config.syntax.\n\n### FILES\n\nMercurial reads configuration data from several files, if they exist.  These files do not ex‐\nist by default and you will have to create the appropriate configuration files yourself:\n\nLocal configuration is put into the per-repository <repo>/.hg/hgrc file.\n\nGlobal configuration like the username setting is typically put into:\n\n• %USERPROFILE%\\mercurial.ini (on Windows)\n\n• $HOME/.hgrc (on Unix, Plan9)\n\nThe names of these files depend on the system on which Mercurial  is  installed.  *.rc  files\nfrom  a  single directory are read in alphabetical order, later ones overriding earlier ones.\nWhere multiple paths are given below, settings from earlier paths override later ones.\n\nOn Unix, the following files are consulted:\n\n• <repo>/.hg/hgrc-not-shared (per-repository)\n\n• <repo>/.hg/hgrc (per-repository)\n\n• $HOME/.hgrc (per-user)\n\n• ${XDGCONFIGHOME:-$HOME/.config}/hg/hgrc (per-user)\n\n• <install-root>/etc/mercurial/hgrc (per-installation)\n\n• <install-root>/etc/mercurial/hgrc.d/*.rc (per-installation)\n\n• /etc/mercurial/hgrc (per-system)\n\n• /etc/mercurial/hgrc.d/*.rc (per-system)\n\n• <internal>/*.rc (defaults)\n\nOn Windows, the following files are consulted:\n\n• <repo>/.hg/hgrc-not-shared (per-repository)\n\n• <repo>/.hg/hgrc (per-repository)\n\n• %USERPROFILE%\\.hgrc (per-user)\n\n• %USERPROFILE%\\Mercurial.ini (per-user)\n\n• %HOME%\\.hgrc (per-user)\n\n• %HOME%\\Mercurial.ini (per-user)\n\n• HKEYLOCALMACHINE\\SOFTWARE\\Mercurial (per-system)\n\n• <install-dir>\\hgrc.d\\*.rc (per-installation)\n\n• <install-dir>\\Mercurial.ini (per-installation)\n\n• %PROGRAMDATA%\\Mercurial\\hgrc (per-system)\n\n• %PROGRAMDATA%\\Mercurial\\Mercurial.ini (per-system)\n\n• %PROGRAMDATA%\\Mercurial\\hgrc.d\\*.rc (per-system)\n\n• <internal>/*.rc (defaults)\n\nNote   The registry key HKEYLOCALMACHINE\\SOFTWARE\\Wow6432Node\\Mercurial is used  when  run‐\nning 32-bit Python on 64-bit Windows.\n\nOn Plan9, the following files are consulted:\n\n• <repo>/.hg/hgrc-not-shared (per-repository)\n\n• <repo>/.hg/hgrc (per-repository)\n\n• $home/lib/hgrc (per-user)\n\n• <install-root>/lib/mercurial/hgrc (per-installation)\n\n• <install-root>/lib/mercurial/hgrc.d/*.rc (per-installation)\n\n• /lib/mercurial/hgrc (per-system)\n\n• /lib/mercurial/hgrc.d/*.rc (per-system)\n\n• <internal>/*.rc (defaults)\n\nPer-repository  configuration options only apply in a particular repository. This file is not\nversion-controlled, and will not get transferred during a \"clone\" operation. Options in  this\nfile override options in all other configuration files.\n\nOn  Plan 9 and Unix, most of this file will be ignored if it doesn't belong to a trusted user\nor to a trusted group. See hg help config.trusted for more details.\n\nPer-user configuration file(s) are for the user running Mercurial.  Options  in  these  files\napply  to  all  Mercurial  commands  executed by this user in any directory. Options in these\nfiles override per-system and per-installation options.\n\nPer-installation configuration files are searched for in the directory where Mercurial is in‐\nstalled. <install-root> is the parent directory of the hg executable (or symlink) being run.\n\nFor    example,    if   installed   in   /shared/tools/bin/hg,   Mercurial   will   look   in\n/shared/tools/etc/mercurial/hgrc. Options in these files apply to all Mercurial commands exe‐\ncuted by any user in any directory.\n\nPer-installation  configuration  files  are for the system on which Mercurial is running. Op‐\ntions in these files apply to all Mercurial commands executed by any user in  any  directory.\nRegistry  keys  contain PATH-like strings, every part of which must reference a Mercurial.ini\nfile or be a directory where *.rc files will be read.  Mercurial checks each of  these  loca‐\ntions in the specified order until one or more configuration files are detected.\n\nPer-system  configuration  files are for the system on which Mercurial is running. Options in\nthese files apply to all Mercurial commands executed by any user in any directory. Options in\nthese files override per-installation options.\n\nMercurial  comes  with  some  default  configuration. The default configuration files are in‐\nstalled with Mercurial and will be  overwritten  on  upgrades.  Default  configuration  files\nshould  never  be edited by users or administrators but can be overridden in other configura‐\ntion files. So far the directory only contains merge tool  configuration  but  packagers  can\nalso put other default configuration there.\n\nOn  versions  5.7  and later, if share-safe functionality is enabled, shares will read config\nfile of share source too.  <share-source/.hg/hgrc> is read before reading <repo/.hg/hgrc>.\n\nFor configs which should not be shared, <repo/.hg/hgrc-not-shared> should be used.\n\n### SYNTAX\n\nA configuration file consists of sections, led by a [section] header and followed by  name  =\nvalue entries (sometimes called configuration keys):\n\n[spam]\neggs=ham\ngreen=\neggs\n\nEach line contains one entry. If the lines that follow are indented, they are treated as con‐\ntinuations of that entry. Leading whitespace is removed from values. Empty lines are skipped.\nLines beginning with # or ; are ignored and may be used to provide comments.\n\nConfiguration keys can be set multiple times, in which case Mercurial will use the value that\nwas configured last. As an example:\n\n[spam]\neggs=large\nham=serrano\neggs=small\n\nThis would set the configuration key named eggs to small.\n\nIt is also possible to define a section multiple times. A section can  be  redefined  on  the\nsame and/or on different configuration files. For example:\n\n[foo]\neggs=large\nham=serrano\neggs=small\n\n[bar]\neggs=ham\ngreen=\neggs\n\n[foo]\nham=prosciutto\neggs=medium\nbread=toasted\n\nThis would set the eggs, ham, and bread configuration keys of the foo section to medium, pro‐‐\nsciutto, and toasted, respectively. As you can see there only thing that matters is the  last\nvalue that was set for each of the configuration keys.\n\nIf a configuration key is set multiple times in different configuration files the final value\nwill depend on the order in which the different configuration files are read,  with  settings\nfrom earlier paths overriding later ones as described on the Files section above.\n\nA  line  of the form %include file will include file into the current configuration file. The\ninclusion is recursive, which means that included files can include  other  files.  Filenames\nare relative to the configuration file in which the %include directive is found.  Environment\nvariables and ~user constructs are expanded in file. This lets you do something like:\n\n%include ~/.hgrc.d/$HOST.rc\n\nto include a different configuration file on each computer you use.\n\nA line with %unset name will remove name from the current section, if it has been set  previ‐\nously.\n\nThe values are either free-form text strings, lists of text strings, or Boolean values. Bool‐\nean values can be set to true using any of \"1\", \"yes\", \"true\", or \"on\"  and  to  false  using\n\"0\", \"no\", \"false\", or \"off\" (all case insensitive).\n\nList  values  are  separated  by whitespace or comma, except when values are placed in double\nquotation marks:\n\nallowread = \"John Doe, PhD\", brian, betty\n\nQuotation marks can be escaped by prefixing them with a backslash. Only  quotation  marks  at\nthe  beginning  of a word is counted as a quotation (e.g., foo\"bar baz is the list of foo\"bar\nand baz).\n\n### SECTIONS\n\nThis section describes the different sections that may appear in  a  Mercurial  configuration\nfile, the purpose of each section, its possible keys, and their possible values.\n\n#### alias\n\nDefines command aliases.\n\nAliases  allow  you  to define your own commands in terms of other commands (or aliases), op‐\ntionally including arguments. Positional arguments in the form of $1, $2, etc. in  the  alias\ndefinition  are expanded by Mercurial before execution. Positional arguments not already used\nby $N in the definition are put at the end of the command to be executed.\n\nAlias definitions consist of lines of the form:\n\n<alias> = <command> [<argument>]...\n\nFor example, this definition:\n\nlatest = log --limit 5\n\ncreates a new command latest that shows only the five most recent changesets. You can  define\nsubsequent aliases using earlier ones:\n\nstable5 = latest -b stable\n\nNote   It  is possible to create aliases with the same names as existing commands, which will\nthen override the original definitions. This is almost always a bad idea!\n\nAn alias can start with an exclamation point (!) to make it a shell alias. A shell  alias  is\nexecuted with the shell and will let you run arbitrary commands. As an example,\n\necho = !echo $@\n\nwill let you do hg echo foo to have foo printed in your terminal. A better example might be:\n\npurge = !$HG status --no-status --unknown -0 re: | xargs -0 rm -f\n\nwhich will make hg purge delete all unknown files in the repository in the same manner as the\npurge extension.\n\nPositional arguments like $1, $2, etc. in the alias definition expand to  the  command  argu‐\nments.  Unmatched  arguments  are removed. $0 expands to the alias name and $@ expands to all\narguments separated by a space. \"$@\" (with quotes) expands to all arguments quoted  individu‐\nally  and  separated  by a space. These expansions happen before the command is passed to the\nshell.\n\nShell aliases are executed in an environment where $HG expands to the path of  the  Mercurial\nthat  was  used  to execute the alias. This is useful when you want to call further Mercurial\ncommands in a shell alias, as was done above for the purge alias. In addition,  $HGARGS  ex‐\npands  to the arguments given to Mercurial. In the hg echo foo call above, $HGARGS would ex‐\npand to echo foo.\n\nNote   Some global configuration options such as -R are processed before  shell  aliases  and\nwill thus not be passed to aliases.\n\n#### annotate\n\nSettings used when displaying file annotations. All values are Booleans and default to False.\nSee hg help config.diff for related options for the diff command.\n\n#### ignorews\n\nIgnore white space when comparing lines.\n\n#### ignorewseol\n\nIgnore white space at the end of a line when comparing lines.\n\n#### ignorewsamount\n\nIgnore changes in the amount of white space.\n\n#### ignoreblanklines\n\nIgnore changes whose lines are all blank.\n\n#### auth\n\nAuthentication credentials and other authentication-like configuration for HTTP  connections.\nThis  section  allows  you  to  store  usernames and passwords for use when logging into HTTP\nservers. See hg help config.web if you want to configure who can login to your HTTP server.\n\nThe following options apply to all hosts.\n\n#### cookiefile\n\nPath to a file containing HTTP cookie lines. Cookies matching a host will be sent  au‐\ntomatically.\n\nThe  file  format  uses the Mozilla cookies.txt format, which defines cookies on their\nown lines. Each line contains 7 fields delimited by the tab character (domain,  isdo‐\nmaincookie,  path,  issecure,  expires,  name, value). For more info, do an Internet\nsearch for \"Netscape cookies.txt format.\"\n\nNote: the cookies parser does not handle port numbers on domains. You will need to re‐\nmove  ports  from  the domain for the cookie to be recognized.  This could result in a\ncookie being disclosed to an unwanted server.\n\nThe cookies file is read-only.\n\nOther options in this section are grouped by name and have the following format:\n\n<name>.<argument> = <value>\n\nwhere <name> is used to group arguments into authentication entries. Example:\n\nfoo.prefix = hg.intevation.de/mercurial\nfoo.username = foo\nfoo.password = bar\nfoo.schemes = http https\n\nbar.prefix = secure.example.org\nbar.key = path/to/file.key\nbar.cert = path/to/file.cert\nbar.schemes = https\n\nSupported arguments:\n\n#### prefix\n\nEither * or a URI prefix with or without the scheme part.   The  authentication  entry\nwith  the  longest matching prefix is used (where * matches everything and counts as a\nmatch of length 1). If the prefix doesn't include a scheme,  the  match  is  performed\nagainst  the  URI with its scheme stripped as well, and the schemes argument, q.v., is\nthen subsequently consulted.\n\n#### username\n\nOptional. Username to authenticate with. If not given, and the  remote  site  requires\nbasic  or  digest  authentication, the user will be prompted for it. Environment vari‐\nables are expanded in the username letting you do foo.username = $USER. If the URI in‐\ncludes  a username, only [auth] entries with a matching username or without a username\nwill be considered.\n\n#### password\n\nOptional. Password to authenticate with. If not given, and the  remote  site  requires\nbasic or digest authentication, the user will be prompted for it.\n\n#### key\n\nOptional.  PEM encoded client certificate key file. Environment variables are expanded\nin the filename.\n\n#### cert\n\nOptional. PEM encoded client certificate chain file.  Environment  variables  are  ex‐\npanded in the filename.\n\n#### schemes\n\nOptional.  Space  separated list of URI schemes to use this authentication entry with.\nOnly used if the prefix doesn't include a  scheme.  Supported  schemes  are  http  and\nhttps.  They will match static-http and static-https respectively, as well.  (default:\nhttps)\n\nIf no suitable authentication entry is found, the user is prompted for credentials  as  usual\nif required by the remote.\n\n#### cmdserver\n\nControls command server settings. (ADVANCED)\n\n#### message-encodings\n\nList  of  encodings  for  the m (message) channel. The first encoding supported by the\nserver will be selected and advertised in the hello message. This is useful only  when\nui.message-output is set to channel. Supported encodings are cbor.\n\n#### shutdown-on-interrupt\n\nIf  set  to false, the server's main loop will continue running after SIGINT received.\nruncommand requests can still be interrupted by SIGINT. Close the  write  end  of  the\npipe to shut down the server process gracefully.  (default: True)\n\n#### color\n\nConfigure  the  Mercurial  color mode. For details about how to define your custom effect and\nstyle see hg help color.\n\n#### mode\n\nString: control the method used to output color. One of auto, ansi, win32, terminfo or\ndebug.  In  auto mode, Mercurial will use ANSI mode by default (or win32 mode prior to\nWindows 10) if it detects a terminal. Any invalid value will disable color.\n\n#### pagermode\n\nString: optional override of color.mode used with pager.\n\nOn some systems, terminfo mode may cause problems when using color with less -R  as  a\npager program. less with the -R option will only display ECMA-48 color codes, and ter‐\nminfo mode may sometimes emit codes that less doesn't understand. You can work  around\nthis  by  either  using ansi mode (or auto mode), or by using less -r (which will pass\nthrough all terminal control codes, not just color control codes).\n\nOn some systems (such as MSYS in Windows), the terminal may support a different  color\nmode than the pager program.\n\n#### commands\n\n#### commit.post-status\n\nShow  status  of  files  in  the working directory after successful commit.  (default:\nFalse)\n\n#### merge.require-rev\n\nRequire that the revision to merge the current commit with be specified on the command\nline.  If  this  is enabled and a revision is not specified, the command aborts.  (de‐\nfault: False)\n\n#### push.require-revs\n\nRequire revisions to push be specified using one or more mechanisms such as specifying\nthem positionally on the command line, using -r, -b, and/or -B on the command line, or\nusing paths.<path>:pushrev in the configuration. If this is enabled and revisions  are\nnot specified, the command aborts.  (default: False)\n\n#### resolve.confirm\n\nConfirm before performing action if no filename is passed.  (default: False)\n\n#### resolve.explicit-re-merge\n\nRequire  uses  of  hg  resolve  to  specify which action it should perform, instead of\nre-merging files by default.  (default: False)\n\n#### resolve.mark-check\n\nDetermines what level of checking hg resolve --mark will perform before marking  files\nas  resolved.  Valid  values  are none`, ``warn, and abort. warn will output a warning\nlisting the file(s) that still have conflict markers in them, but will still mark  ev‐\nerything resolved.  abort will output the same warning but will not mark things as re‐\nsolved.  If --all is passed and this is set to abort, only a warning will be shown (an\nerror will not be raised).  (default: none)\n\n#### status.relative\n\nMake paths in hg status output relative to the current directory.  (default: False)\n\n#### status.terse\n\nDefault value for the --terse flag, which condenses status output.  (default: empty)\n\n#### update.check\n\nDetermines  what  level of checking hg update will perform before moving to a destina‐\ntion revision. Valid values are abort, none, linear, and noconflict.\n\n• abort always fails if the working directory has uncommitted changes.\n\n• none performs no checking, and may result in a merge with uncommitted changes.\n\n• linear allows any update as long as it follows a straight line in the revision  his‐\ntory, and may trigger a merge with uncommitted changes.\n\n• noconflict  will  allow  any update which would not trigger a merge with uncommitted\nchanges, if any are present.\n\n(default: linear)\n\n#### update.requiredest\n\nRequire that the user pass a destination when running hg update.  For example, hg  up‐‐\ndate .:: will be allowed, but a plain hg update will be disallowed.  (default: False)\n\n#### committemplate\n\n#### changeset\n\nString:  configuration  in  this section is used as the template to customize the text\nshown in the editor when committing.\n\nIn addition to pre-defined template keywords, commit log specific one below can be  used  for\ncustomization:\n\n#### extramsg\n\nString:  Extra message (typically 'Leave message empty to abort commit.'). This may be\nchanged by some commands or extensions.\n\nFor example, the template configuration below shows as same text as one shown by default:\n\n[committemplate]\nchangeset = {desc}\\n\\n\nHG: Enter commit message.  Lines beginning with 'HG:' are removed.\nHG: {extramsg}\nHG: --\nHG: user: {author}\\n{ifeq(p2rev, \"-1\", \"\",\n\"HG: branch merge\\n\")\n}HG: branch '{branch}'\\n{if(activebookmark,\n\"HG: bookmark '{activebookmark}'\\n\")   }{subrepos %\n\"HG: subrepo {subrepo}\\n\"              }{fileadds %\n\"HG: added {file}\\n\"                   }{filemods %\n\"HG: changed {file}\\n\"                 }{filedels %\n\"HG: removed {file}\\n\"                 }{if(files, \"\",\n\"HG: no files changed\\n\")}\n\n#### diff()\n\nString: show the diff (see hg help templates for detail)\n\nSometimes it is helpful to show the diff of the changeset in the  editor  without  having  to\nprefix 'HG: ' to each line so that highlighting works correctly. For this, Mercurial provides\na special string which will ignore everything below it:\n\nHG: ------------------------ >8 ------------------------\n\nFor example, the template configuration below will show the diff below the extra message:\n\n[committemplate]\nchangeset = {desc}\\n\\n\nHG: Enter commit message.  Lines beginning with 'HG:' are removed.\nHG: {extramsg}\nHG: ------------------------ >8 ------------------------\nHG: Do not touch the line above.\nHG: Everything below will be removed.\n{diff()}\n\nNote   For some problematic encodings (see hg help win32mbcs for detail), this  customization\nshould be configured carefully, to avoid showing broken characters.\n\nFor  example, if a multibyte character ending with backslash (0x5c) is followed by the\nASCII character 'n' in the customized template, the sequence of backslash and  'n'  is\ntreated as line-feed unexpectedly (and the multibyte character is broken, too).\n\nCustomized template is used for commands below (--edit may be required):\n\n• hg backout\n\n• hg commit\n\n• hg fetch (for merge commit only)\n\n• hg graft\n\n• hg histedit\n\n• hg import\n\n• hg qfold, hg qnew and hg qrefresh\n\n• hg rebase\n\n• hg shelve\n\n• hg sign\n\n• hg tag\n\n• hg transplant\n\nConfiguring  items below instead of changeset allows showing customized message only for spe‐\ncific actions, or showing different messages for each action.\n\n• changeset.backout for hg backout\n\n• changeset.commit.amend.merge for hg commit --amend on merges\n\n• changeset.commit.amend.normal for hg commit --amend on other\n\n• changeset.commit.normal.merge for hg commit on merges\n\n• changeset.commit.normal.normal for hg commit on other\n\n• changeset.fetch for hg fetch (impling merge commit)\n\n• changeset.gpg.sign for hg sign\n\n• changeset.graft for hg graft\n\n• changeset.histedit.edit for edit of hg histedit\n\n• changeset.histedit.fold for fold of hg histedit\n\n• changeset.histedit.mess for mess of hg histedit\n\n• changeset.histedit.pick for pick of hg histedit\n\n• changeset.import.bypass for hg import --bypass\n\n• changeset.import.normal.merge for hg import on merges\n\n• changeset.import.normal.normal for hg import on other\n\n• changeset.mq.qnew for hg qnew\n\n• changeset.mq.qfold for hg qfold\n\n• changeset.mq.qrefresh for hg qrefresh\n\n• changeset.rebase.collapse for hg rebase --collapse\n\n• changeset.rebase.merge for hg rebase on merges\n\n• changeset.rebase.normal for hg rebase on other\n\n• changeset.shelve.shelve for hg shelve\n\n• changeset.tag.add for hg tag without --remove\n\n• changeset.tag.remove for hg tag --remove\n\n• changeset.transplant.merge for hg transplant on merges\n\n• changeset.transplant.normal for hg transplant on other\n\nThese dot-separated lists of names are treated as hierarchical ones.   For  example,  change‐‐\nset.tag.remove customizes the commit message only for hg tag --remove, but changeset.tag cus‐\ntomizes the commit message for hg tag regardless of --remove option.\n\nWhen the external editor is invoked for a commit, the  corresponding  dot-separated  list  of\nnames without the changeset. prefix (e.g. commit.normal.normal) is in the HGEDITFORM environ‐\nment variable.\n\nIn this section, items other than changeset can be referred from  others.  For  example,  the\nconfiguration to list committed files up below can be referred as {listupfiles}:\n\n[committemplate]\nlistupfiles = {fileadds %\n\"HG: added {file}\\n\"     }{filemods %\n\"HG: changed {file}\\n\"   }{filedels %\n\"HG: removed {file}\\n\"   }{if(files, \"\",\n\"HG: no files changed\\n\")}\n\n#### decode/encode\n\nFilters  for transforming files on checkout/checkin. This would typically be used for newline\nprocessing or other localization/canonicalization of files.\n\nFilters consist of a filter pattern followed by a filter command.  Filter patterns are  globs\nby  default, rooted at the repository root.  For example, to match any file ending in .txt in\nthe root directory only, use the pattern *.txt. To match any file ending in  .c  anywhere  in\nthe repository, use the pattern .c.  For each file only the first matching filter applies.\n\nThe  filter command can start with a specifier, either pipe: or tempfile:. If no specifier is\ngiven, pipe: is used by default.\n\nA pipe: command must accept data on stdin and return the transformed data on stdout.\n\nPipe example:\n\n[encode]\n# uncompress gzip files on checkin to improve delta compression\n# note: not necessarily a good idea, just an example\n*.gz = pipe: gunzip\n\n[decode]\n# recompress gzip files when writing them to the working dir (we\n# can safely omit \"pipe:\", because it's the default)\n*.gz = gzip\n\nA tempfile: command is a template. The string INFILE is replaced with the name of a temporary\nfile  that  contains  the  data to be filtered by the command. The string OUTFILE is replaced\nwith the name of an empty temporary file, where the filtered data must be written by the com‐\nmand.\n\nNote   The  tempfile  mechanism  is recommended for Windows systems, where the standard shell\nI/O redirection operators often have strange effects and may corrupt the  contents  of\nyour files.\n\nThis  filter mechanism is used internally by the eol extension to translate line ending char‐\nacters between Windows (CRLF) and Unix (LF) format. We suggest you use the eol extension  for\nconvenience.\n\n#### defaults\n\n(defaults are deprecated. Don't use them. Use aliases instead.)\n\nUse  the [defaults] section to define command defaults, i.e. the default options/arguments to\npass to the specified commands.\n\nThe following example makes hg log run in verbose mode, and hg status show only the  modified\nfiles, by default:\n\n[defaults]\nlog = -v\nstatus = -m\n\nThe  actual  commands, instead of their aliases, must be used when defining command defaults.\nThe command defaults will also be applied to the aliases of the commands defined.\n\n#### diff\n\nSettings used when displaying diffs. Everything except for unified is a Boolean and  defaults\nto False. See hg help config.annotate for related options for the annotate command.\n\n#### git\n\nUse git extended diff format.\n\n#### nobinary\n\nOmit git binary patches.\n\n#### nodates\n\nDon't include dates in diff headers.\n\n#### noprefix\n\nOmit 'a/' and 'b/' prefixes from filenames. Ignored in plain mode.\n\n#### showfunc\n\nShow which function each change is in.\n\n#### ignorews\n\nIgnore white space when comparing lines.\n\n#### ignorewsamount\n\nIgnore changes in the amount of white space.\n\n#### ignoreblanklines\n\nIgnore changes whose lines are all blank.\n\n#### unified\n\nNumber of lines of context to show.\n\n#### word-diff\n\nHighlight changed words.\n\n#### email\n\nSettings for extensions that send email messages.\n\n#### from\n\nOptional.  Email  address  to  use in \"From\" header and SMTP envelope of outgoing mes‐\nsages.\n\nto\n\nOptional. Comma-separated list of recipients' email addresses.\n\ncc\n\nOptional. Comma-separated list of carbon copy recipients' email addresses.\n\n#### bcc\n\nOptional. Comma-separated list of blind carbon copy recipients' email addresses.\n\n#### method\n\nOptional. Method to use to send email messages. If value is smtp (default),  use  SMTP\n(see  the [smtp] section for configuration).  Otherwise, use as name of program to run\nthat acts like sendmail (takes -f option for sender, list  of  recipients  on  command\nline,  message  on stdin). Normally, setting this to sendmail or /usr/sbin/sendmail is\nenough to use sendmail to send messages.\n\n#### charsets\n\nOptional. Comma-separated list of character sets considered convenient for recipients.\nAddresses,  headers, and parts not containing patches of outgoing messages will be en‐\ncoded in the first character set to which conversion from local encoding ($HGENCODING,\nui.fallbackencoding)  succeeds.  If  correct conversion fails, the text in question is\nsent as is.  (default: '')\n\nOrder of outgoing email character sets:\n\n1. us-ascii: always first, regardless of settings\n\n2. email.charsets: in order given by user\n\n3. ui.fallbackencoding: if not in email.charsets\n\n4. $HGENCODING: if not in email.charsets\n\n5. utf-8: always last, regardless of settings\n\nEmail example:\n\n[email]\nfrom = Joseph User <joe.user@example.com>\nmethod = /usr/sbin/sendmail\n# charsets for western Europeans\n# us-ascii, utf-8 omitted, as they are tried first and last\ncharsets = iso-8859-1, iso-8859-15, windows-1252\n\n#### extensions\n\nMercurial has an extension mechanism for adding new features. To enable an extension,  create\nan entry for it in this section.\n\nIf  you  know that the extension is already in Python's search path, you can give the name of\nthe module, followed by =, with nothing after the =.\n\nOtherwise, give a name that you choose, followed by =, followed by the path to the  .py  file\n(including the file name extension) that defines the extension.\n\nTo  explicitly  disable an extension that is enabled in an hgrc of broader scope, prepend its\npath with !, as in foo = !/ext/path or foo = ! when path is not supplied.\n\nExample for ~/.hgrc:\n\n[extensions]\n# (the churn extension will get loaded from Mercurial's path)\nchurn =\n# (this extension will get loaded from the file specified)\nmyfeature = ~/.hgext/myfeature.py\n\nIf an extension fails to load, a warning will be issued, and Mercurial will proceed.  To  en‐\nforce that an extension must be loaded, one can set the required suboption in the config:\n\n[extensions]\nmyfeature = ~/.hgext/myfeature.py\nmyfeature:required = yes\n\nTo debug extension loading issue, one can add --traceback to their mercurial invocation.\n\nA default setting can we set using the special * extension key:\n\n[extensions]\n*:required = yes\nmyfeature = ~/.hgext/myfeature.py\nrebase=\n\n#### format\n\nConfiguration  that  controls  the repository format. Newer format options are more powerful,\nbut incompatible with some older versions of Mercurial.  Format  options  are  considered  at\nrepository  initialization  only. You need to make a new clone for config changes to be taken\ninto account.\n\nFor   more   details   about   repository   format    and    version    compatibility,    see\nhttps://www.mercurial-scm.org/wiki/MissingRequirement\n\n#### usegeneraldelta\n\nEnable  or disable the \"generaldelta\" repository format which improves repository com‐\npression by allowing \"revlog\" to store deltas against arbitrary revisions  instead  of\nthe previously stored one. This provides significant improvement for repositories with\nbranches.\n\nRepositories with this on-disk format require Mercurial version 1.9.\n\nEnabled by default.\n\n#### dotencode\n\nEnable or disable the \"dotencode\"  repository  format  which  enhances  the  \"fncache\"\nrepository  format  (which  has  to  be enabled to use dotencode) to avoid issues with\nfilenames starting with \".\" on Mac OS X and spaces on Windows.\n\nRepositories with this on-disk format require Mercurial version 1.7.\n\nEnabled by default.\n\n#### usefncache\n\nEnable or disable the \"fncache\" repository format which enhances the  \"store\"  reposi‐\ntory  format  (which  has  to be enabled to use fncache) to allow longer filenames and\navoids using Windows reserved names, e.g. \"nul\".\n\nRepositories with this on-disk format require Mercurial version 1.1.\n\nEnabled by default.\n\n#### use-dirstate-v2\n\nEnable or disable the experimental \"dirstate-v2\" feature. The  dirstate  functionality\nis  shared by all commands interacting with the working copy.  The new version is more\nrobust, faster and stores more information.\n\nThe performance-improving version of this feature is  currently  only  implemented  in\nRust  (see hg help rust), so people not using a version of Mercurial compiled with the\nRust parts might actually suffer some slowdown.  For this reason, such  versions  will\nby default refuse to access repositories with \"dirstate-v2\" enabled.\n\nThis   behavior  can  be  adjusted  via  configuration:  check  hg  help  config.stor‐‐\nage.dirstate-v2.slow-path for details.\n\nRepositories with this on-disk format require Mercurial 6.0 or above.\n\nBy default this format variant is disabled if the fast implementation  is  not  avail‐\nable, and enabled by default if the fast implementation is available.\n\nTo  accomodate  installations  of  Mercurial  without the fast implementation, you can\ndowngrade your repository. To do so run the following command:\n\n$ hg debugupgraderepo\n--run      --config      format.use-dirstate-v2=False      --config       stor‐\nage.dirstate-v2.slow-path=allow\n\nFor a more comprehensive guide, see hg help internals.dirstate-v2.\n\n#### use-dirstate-tracked-hint\n\nEnable  or disable the writing of \"tracked key\" file alongside the dirstate.  (default\nto disabled)\n\nThat \"tracked-hint\" can help external automations to detect  changes  to  the  set  of\ntracked files. (i.e the result of hg files or hg status -macd)\n\nThe tracked-hint is written in a new .hg/dirstate-tracked-hint. That file contains two\nlines: - the first line is the file version (currently: 1), - the second line contains\nthe \"tracked-hint\".  That file is written right after the dirstate is written.\n\nThe tracked-hint changes whenever the set of file tracked in the dirstate changes. The\ngeneral idea is: - if the hint is identical, the set of tracked file SHOULD be identi‐\ncal, - if the hint is different, the set of tracked file MIGHT be different.\n\nThe  \"hint  is  identical\"  case uses SHOULD as the dirstate and the hint file are two\ndistinct files and therefore that cannot be read or written to in an  atomic  way.  If\nthe  key  is identical, nothing garantees that the dirstate is not updated right after\nthe hint file. This is considered a negligible limitation for the intended usecase. It\nis  actually  possible  to prevent this race by taking the repository lock during read\noperations.\n\nThey are two \"ways\" to use this feature:\n\n1) monitoring changes to the  .hg/dirstate-tracked-hint,  if  the  file  changes,  the\ntracked set might have changed.\n\n2. storing the value and comparing it to a later value.\n\n#### use-persistent-nodemap\n\nEnable  or  disable the \"persistent-nodemap\" feature which improves performance if the\nRust extensions are available.\n\nThe \"persistent-nodemap\" persist the \"node -> rev\" on disk removing the need to dynam‐\nically  build  that  mapping for each Mercurial invocation. This significantly reduces\nthe startup cost of various local and server-side operation for larger repositories.\n\nThe performance-improving version of this feature is  currently  only  implemented  in\nRust  (see hg help rust), so people not using a version of Mercurial compiled with the\nRust parts might actually suffer some slowdown.  For this reason, such  versions  will\nby default refuse to access repositories with \"persistent-nodemap\".\n\nThis   behavior  can  be  adjusted  via  configuration:  check  hg  help  config.stor‐‐\nage.revlog.persistent-nodemap.slow-path for details.\n\nRepositories with this on-disk format require Mercurial 5.4 or above.\n\nBy default this format variant is disabled if the fast implementation  is  not  avail‐\nable, and enabled by default if the fast implementation is available.\n\nTo  accomodate  installations  of  Mercurial  without the fast implementation, you can\ndowngrade your repository. To do so run the following command:\n\n$ hg debugupgraderepo\n--run --config format.use-persistent-nodemap=False --config storage.revlog.per‐\nsistent-nodemap.slow-path=allow\n\n#### use-share-safe\n\nEnforce \"safe\" behaviors for all \"shares\" that access this repository.\n\nWith this feature, \"shares\" using this repository as a source will:\n\n• read the source repository's configuration (<source>/.hg/hgrc).\n\n• read  and  use  the source repository's \"requirements\" (except the working copy spe‐\ncific one).\n\nWithout this feature, \"shares\" using this repository as a source will:\n\n• keep tracking the repository \"requirements\" in the share only, ignoring  the  source\n\"requirements\", possibly diverging from them.\n\n• ignore  source  repository  config. This can create problems, like silently ignoring\nimportant hooks.\n\nBeware that existing shares will not be upgraded/downgraded, and by default, Mercurial\nwill  refuse  to  interact  with them until the mismatch is resolved. See hg help con‐‐\nfig.share.safe-mismatch.source-safe and      hg      help       config.share.safe-mis‐‐\nmatch.source-not-safe for details.\n\nIntroduced in Mercurial 5.7.\n\nEnabled by default in Mercurial 6.1.\n\n#### usestore\n\nEnable or disable the \"store\" repository format which improves compatibility with sys‐\ntems that fold case or otherwise mangle filenames. Disabling this  option  will  allow\nyou to store longer filenames in some situations at the expense of compatibility.\n\nRepositories with this on-disk format require Mercurial version 0.9.4.\n\nEnabled by default.\n\n#### sparse-revlog\n\nEnable  or disable the sparse-revlog delta strategy. This format improves delta re-use\ninside revlog. For very branchy repositories, it  results  in  a  smaller  store.  For\nrepositories  with many revisions, it also helps performance (by using shortened delta\nchains.)\n\nRepositories with this on-disk format require Mercurial version 4.7\n\nEnabled by default.\n\n#### revlog-compression\n\nCompression algorithm used by revlog. Supported values are zlib and zstd. The zlib en‐\ngine  is the historical default of Mercurial. zstd is a newer format that is usually a\nnet win over zlib, operating faster at better compression rates. Use  zstd  to  reduce\nCPU usage. Multiple values can be specified, the first available one will be used.\n\nOn some systems, the Mercurial installation may lack zstd support.\n\nDefault is zstd if available, zlib otherwise.\n\n#### bookmarks-in-store\n\nStore  bookmarks  in  .hg/store/.  This  means that bookmarks are shared when using hg\nshare regardless of the -B option.\n\nRepositories with this on-disk format require Mercurial version 5.1.\n\nDisabled by default.\n\n#### graph\n\nWeb graph view configuration. This section let you change graph elements  display  properties\nby branches, for instance to make the default branch stand out.\n\nEach line has the following format:\n\n<branch>.<argument> = <value>\n\nwhere <branch> is the name of the branch being customized. Example:\n\n[graph]\n# 2px width\ndefault.width = 2\n# red color\ndefault.color = FF0000\n\nSupported arguments:\n\n#### width\n\nSet branch edges width in pixels.\n\n#### color\n\nSet branch edges color in hexadecimal RGB notation.\n\n#### hooks\n\nCommands  or  Python  functions  that  get  automatically executed by various actions such as\nstarting or finishing a commit. Multiple hooks can be run for the same action by appending  a\nsuffix  to  the action. Overriding a site-wide hook can be done by changing its value or set‐\nting it to an empty string.  Hooks can be prioritized by adding a prefix of priority. to  the\nhook name on a new line and setting the priority. The default priority is 0.\n\nExample .hg/hgrc:\n\n[hooks]\n# update working directory after adding changesets\nchangegroup.update = hg update\n# do not use the site-wide hook\nincoming =\nincoming.email = /my/email/hook\nincoming.autobuild = /my/build/hook\n# force autobuild hook to run before other incoming hooks\npriority.incoming.autobuild = 1\n###  control HGPLAIN setting when running autobuild hook\n# HGPLAIN always set (default from Mercurial 5.7)\nincoming.autobuild:run-with-plain = yes\n# HGPLAIN never set\nincoming.autobuild:run-with-plain = no\n# HGPLAIN inherited from environment (default before Mercurial 5.7)\nincoming.autobuild:run-with-plain = auto\n\nMost  hooks  are  run with environment variables set that give useful additional information.\nFor each hook below, the environment variables it is passed are listed with names in the form\n$HGfoo. The $HGHOOKTYPE and $HGHOOKNAME variables are set for all hooks.  They contain the\ntype of hook which triggered the run and the full name of the hook  in  the  config,  respec‐\ntively.  In  the  example  above,  this will be $HGHOOKTYPE=incoming and $HGHOOKNAME=incom‐‐\ning.email.\n\nSome basic Unix syntax can be enabled for portability, including $VAR and ${VAR} style  vari‐\nables.   A  ~  followed  by  \\ or / will be expanded to %USERPROFILE% to simulate a subset of\ntilde expansion on Unix.  To use a literal $ or ~, it must be escaped with a  back  slash  or\ninside of a strong quote.  Strong quotes will be replaced by double quotes after processing.\n\nThis  feature  is enabled by adding a prefix of tonative. to the hook name on a new line, and\nsetting it to True.  For example:\n\n[hooks]\nincoming.autobuild = /my/build/hook\n# enable translation to cmd.exe syntax for autobuild hook\ntonative.incoming.autobuild = True\n\n#### changegroup\n\nRun after a changegroup has been added via push, pull or  unbundle.   The  ID  of  the\nfirst  new  changeset is in $HGNODE and last is in $HGNODELAST.  The URL from which\nchanges came is in $HGURL.\n\n#### commit\n\nRun after a changeset has been created in the local repository. The ID  of  the  newly\ncreated changeset is in $HGNODE. Parent changeset IDs are in $HGPARENT1 and $HGPAR‐‐\nENT2.\n\n#### incoming\n\nRun after a changeset has been pulled, pushed, or unbundled into the local repository.\nThe  ID  of the newly arrived changeset is in $HGNODE. The URL that was source of the\nchanges is in $HGURL.\n\n#### outgoing\n\nRun after sending changes from the local  repository  to  another.  The  ID  of  first\nchangeset  sent  is in $HGNODE. The source of operation is in $HGSOURCE. Also see hg\nhelp config.hooks.preoutgoing.\n\n#### post-<command>\n\nRun after successful invocations of the associated command. The contents of  the  com‐\nmand  line  are  passed  as $HGARGS and the result code in $HGRESULT. Parsed command\nline arguments are passed as $HGPATS and $HGOPTS. These contain  string  representa‐\ntions  of  the python data internally passed to <command>. $HGOPTS is a dictionary of\noptions (with unspecified options set to their defaults).  $HGPATS is a list of argu‐\nments. Hook failure is ignored.\n\n#### fail-<command>\n\nRun  after  a  failed invocation of an associated command. The contents of the command\nline are passed as $HGARGS. Parsed command line arguments are passed as $HGPATS  and\n$HGOPTS. These contain string representations of the python data internally passed to\n<command>. $HGOPTS is a dictionary of options (with unspecified options set to  their\ndefaults). $HGPATS is a list of arguments.  Hook failure is ignored.\n\n#### pre-<command>\n\nRun  before  executing  the  associated  command. The contents of the command line are\npassed as $HGARGS. Parsed command line arguments are passed as $HGPATS and $HGOPTS.\nThese  contain  string  representations  of  the  data internally passed to <command>.\n$HGOPTS is a dictionary of options (with unspecified options set to their  defaults).\n$HGPATS is a list of arguments. If the hook returns failure, the command doesn't exe‐\ncute and Mercurial returns the failure code.\n\n#### prechangegroup\n\nRun before a changegroup is added via push, pull or unbundle. Exit status 0 allows the\nchangegroup  to  proceed.  A  non-zero status will cause the push, pull or unbundle to\nfail. The URL from which changes will come is in $HGURL.\n\n#### precommit\n\nRun before starting a local commit. Exit status 0 allows  the  commit  to  proceed.  A\nnon-zero  status  will cause the commit to fail.  Parent changeset IDs are in $HGPAR‐‐\nENT1 and $HGPARENT2.\n\n#### prelistkeys\n\nRun before listing pushkeys (like bookmarks) in the repository. A non-zero status will\ncause failure. The key namespace is in $HGNAMESPACE.\n\n#### preoutgoing\n\nRun before collecting changes to send from the local repository to another. A non-zero\nstatus will cause failure. This lets you prevent pull over HTTP or SSH.  It  can  also\nprevent  propagating commits (via local pull, push (outbound) or bundle commands), but\nnot completely, since you can just copy files instead. The source of operation  is  in\n$HGSOURCE.  If  \"serve\", the operation is happening on behalf of a remote SSH or HTTP\nrepository. If \"push\", \"pull\" or \"bundle\", the operation is happening on behalf  of  a\nrepository on same system.\n\n#### prepushkey\n\nRun  before  a pushkey (like a bookmark) is added to the repository. A non-zero status\nwill cause the key to be rejected. The key namespace is in $HGNAMESPACE, the  key  is\nin $HGKEY, the old value (if any) is in $HGOLD, and the new value is in $HGNEW.\n\n#### pretag\n\nRun before creating a tag. Exit status 0 allows the tag to be created. A non-zero sta‐\ntus will cause the tag to fail. The ID of the changeset to tag  is  in  $HGNODE.  The\nname  of  tag  is in $HGTAG. The tag is local if $HGLOCAL=1, or in the repository if\n$HGLOCAL=0.\n\n#### pretxnopen\n\nRun before any new repository transaction is open. The reason for the transaction will\nbe in $HGTXNNAME, and a unique identifier for the transaction will be in $HGTXNID. A\nnon-zero status will prevent the transaction from being opened.\n\n#### pretxnclose\n\nRun right before the transaction is actually finalized. Any repository change will  be\nvisible  to the hook program. This lets you validate the transaction content or change\nit. Exit status 0 allows the commit to proceed.  A  non-zero  status  will  cause  the\ntransaction  to  be  rolled  back.  The  reason for the transaction opening will be in\n$HGTXNNAME, and a unique identifier for the transaction will  be  in  $HGTXNID.  The\nrest  of  the available data will vary according the transaction type.  Changes unbun‐\ndled to the repository will add $HGURL  and  $HGSOURCE.   New  changesets  will  add\n$HGNODE  (the  ID  of  the  first added changeset), $HGNODELAST (the ID of the last\nadded  changeset).   Bookmark  and  phase  changes  will  set  $HGBOOKMARKMOVED  and\n$HGPHASESMOVED  to 1 respectively.  The number of new obsmarkers, if any, will be in\n$HGNEWOBSMARKERS, etc.\n\n#### pretxnclose-bookmark\n\nRun right before a bookmark change is actually finalized. Any repository  change  will\nbe  visible  to  the  hook  program. This lets you validate the transaction content or\nchange it. Exit status 0 allows the commit to proceed. A non-zero  status  will  cause\nthe  transaction  to  be  rolled  back.  The name of the bookmark will be available in\n$HGBOOKMARK, the new bookmark location will be available in $HGNODE while the previ‐\nous  location  will  be  available  in  $HGOLDNODE.  In  case  of a bookmark creation\n$HGOLDNODE will be empty. In case of deletion $HGNODE will be empty.   In  addition,\nthe reason for the transaction opening will be in $HGTXNNAME, and a unique identifier\nfor the transaction will be in $HGTXNID.\n\n#### pretxnclose-phase\n\nRun right before a phase change is actually finalized. Any repository change  will  be\nvisible  to the hook program. This lets you validate the transaction content or change\nit. Exit status 0 allows the commit to proceed.  A  non-zero  status  will  cause  the\ntransaction  to be rolled back. The hook is called multiple times, once for each revi‐\nsion affected by a phase change.  The affected node  is  available  in  $HGNODE,  the\nphase  in $HGPHASE while the previous $HGOLDPHASE. In case of new node, $HGOLDPHASE\nwill be empty.  In addition, the  reason  for  the  transaction  opening  will  be  in\n$HGTXNNAME,  and  a  unique  identifier for the transaction will be in $HGTXNID. The\nhook is also run for newly added revisions. In this case the $HGOLDPHASE  entry  will\nbe empty.\n\n#### txnclose\n\nRun  after  any repository transaction has been committed. At this point, the transac‐\ntion can no longer be rolled back. The hook will run after the lock is  released.  See\nhg help config.hooks.pretxnclose for details about available variables.\n\n#### txnclose-bookmark\n\nRun  after  any bookmark change has been committed. At this point, the transaction can\nno longer be rolled back. The hook will run after the lock is released.  See  hg  help\nconfig.hooks.pretxnclose-bookmark for details about available variables.\n\n#### txnclose-phase\n\nRun  after  any phase change has been committed. At this point, the transaction can no\nlonger be rolled back. The hook will run after the lock is released. See hg help  con‐‐\nfig.hooks.pretxnclose-phase for details about available variables.\n\n#### txnabort\n\nRun  when  a  transaction is aborted. See hg help config.hooks.pretxnclose for details\nabout available variables.\n\n#### pretxnchangegroup\n\nRun after a changegroup has been added via push, pull  or  unbundle,  but  before  the\ntransaction  has  been committed. The changegroup is visible to the hook program. This\nallows validation of incoming changes before accepting them.  The ID of the first  new\nchangeset is in $HGNODE and last is in $HGNODELAST. Exit status 0 allows the trans‐\naction to commit. A non-zero status will cause the transaction to be rolled back,  and\nthe  push,  pull  or  unbundle will fail. The URL that was the source of changes is in\n$HGURL.\n\n#### pretxncommit\n\nRun after a changeset has been created, but before the transaction is  committed.  The\nchangeset is visible to the hook program. This allows validation of the commit message\nand changes. Exit status 0 allows the commit to proceed. A non-zero status will  cause\nthe  transaction  to  be  rolled back. The ID of the new changeset is in $HGNODE. The\nparent changeset IDs are in $HGPARENT1 and $HGPARENT2.\n\n#### preupdate\n\nRun before updating the working directory. Exit status 0 allows the update to proceed.\nA non-zero status will prevent the update.  The changeset ID of first new parent is in\n$HGPARENT1. If updating to a merge, the ID of second new parent is in $HGPARENT2.\n\n#### listkeys\n\nRun after listing pushkeys (like bookmarks) in the repository. The key namespace is in\n$HGNAMESPACE. $HGVALUES is a dictionary containing the keys and values.\n\n#### pushkey\n\nRun after a pushkey (like a bookmark) is added to the repository. The key namespace is\nin $HGNAMESPACE, the key is in $HGKEY, the old value (if any) is in $HGOLD, and the\nnew value is in $HGNEW.\n\n#### tag\n\nRun  after  a tag is created. The ID of the tagged changeset is in $HGNODE.  The name\nof tag is in $HGTAG. The tag is local if $HGLOCAL=1, or in the repository if $HGLO‐‐\nCAL=0.\n\n#### update\n\nRun  after  updating the working directory. The changeset ID of first new parent is in\n$HGPARENT1. If updating to a merge, the ID of second new parent is in $HGPARENT2. If\nthe  update  succeeded, $HGERROR=0. If the update failed (e.g. because conflicts were\nnot resolved), $HGERROR=1.\n\nNote   It is generally better to use standard hooks rather than the generic  pre-  and  post-\ncommand hooks, as they are guaranteed to be called in the appropriate contexts for in‐\nfluencing transactions.  Also, hooks like \"commit\" will be called in all contexts that\ngenerate a commit (e.g. tag) and not just the commit command.\n\nNote   Environment  variables  with empty values may not be passed to hooks on platforms such\nas Windows. As an example, $HGPARENT2 will have an empty value under Unix-like  plat‐\nforms for non-merge changesets, while it will not be available at all under Windows.\n\nThe syntax for Python hooks is as follows:\n\nhookname = python:modulename.submodule.callable\nhookname = python:/path/to/python/module.py:callable\n\nPython  hooks  are  run within the Mercurial process. Each hook is called with at least three\nkeyword arguments: a ui object (keyword ui), a repository object (keyword repo), and a  hook‐‐\ntype  keyword that tells what kind of hook is used. Arguments listed as environment variables\nabove are passed as keyword arguments, with no HG prefix, and names in lower case.\n\nIf a Python hook returns a \"true\" value or raises an exception, this is treated as a failure.\n\n#### hostfingerprints\n\n(Deprecated. Use [hostsecurity]'s fingerprints options instead.)\n\nFingerprints of the certificates of known HTTPS servers.\n\nA HTTPS connection to a server with a fingerprint configured here will only  succeed  if  the\nservers  certificate  matches  the  fingerprint.  This is very similar to how ssh known hosts\nworks.\n\nThe fingerprint is the SHA-1 hash value of the DER encoded certificate.  Multiple values  can\nbe  specified  (separated  by  spaces or commas). This can be used to define both old and new\nfingerprints while a host transitions to a new certificate.\n\nThe CA chain and web.cacerts is not used for servers with a fingerprint.\n\nFor example:\n\n[hostfingerprints]\nhg.intevation.de = fc:e2:8d:d9:51:cd:cb:c1:4d:18:6b:b7:44:8d:49:72:57:e6:cd:33\nhg.intevation.org = fc:e2:8d:d9:51:cd:cb:c1:4d:18:6b:b7:44:8d:49:72:57:e6:cd:33\n\n#### hostsecurity\n\nUsed to specify global and per-host security settings for connecting to other machines.\n\nThe following options control default behavior for all hosts.\n\n#### ciphers\n\nDefines the cryptographic ciphers to use for connections.\n\nValue  must   be   a   valid   OpenSSL   Cipher   List   Format   as   documented   at\nhttps://www.openssl.org/docs/manmaster/apps/ciphers.html#CIPHER-LIST-FORMAT.\n\nThis setting is for advanced users only. Setting to incorrect values can significantly\nlower connection security or decrease performance.  You have been warned.\n\nThis option requires Python 2.7.\n\n#### minimumprotocol\n\nDefines the minimum channel encryption protocol to use.\n\nBy default, the highest version of TLS supported by both client and server is used.\n\nAllowed values are: tls1.0, tls1.1, tls1.2.\n\nWhen running on an old Python version, only tls1.0 is allowed since  old  versions  of\nPython only support up to TLS 1.0.\n\nWhen running a Python that supports modern TLS versions, the default is tls1.1. tls1.0\ncan still be used to allow TLS 1.0. However, this weakens security and should only  be\nused as a feature of last resort if a server does not support TLS 1.1+.\n\nOptions  in the [hostsecurity] section can have the form hostname:setting. This allows multi‐\nple settings to be defined on a per-host basis.\n\nThe following per-host settings can be defined.\n\n#### ciphers\n\nThis behaves like ciphers as described above except it only applies  to  the  host  on\nwhich it is defined.\n\n#### fingerprints\n\nA  list of hashes of the DER encoded peer/remote certificate. Values have the form al‐‐\ngorithm:fingerprint.                                                              e.g.\nsha256:c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2.  In addition,\ncolons (:) can appear in the fingerprint part.\n\nThe following algorithms/prefixes are supported: sha1, sha256, sha512.\n\nUse of sha256 or sha512 is preferred.\n\nIf a fingerprint is specified, the CA chain is not validated for this host and  Mercu‐\nrial  will  require the remote certificate to match one of the fingerprints specified.\nThis means if the server updates its certificate, Mercurial will  abort  until  a  new\nfingerprint  is defined.  This can provide stronger security than traditional CA-based\nvalidation at the expense of convenience.\n\nThis option takes precedence over verifycertsfile.\n\n#### minimumprotocol\n\nThis behaves like minimumprotocol as described above except it  only  applies  to  the\nhost on which it is defined.\n\n#### verifycertsfile\n\nPath to file a containing a list of PEM encoded certificates used to verify the server\ncertificate. Environment variables and ~user constructs are expanded in the filename.\n\nThe server certificate or the certificate's certificate authority (CA)  must  match  a\ncertificate  from  this  file or certificate verification will fail and connections to\nthe server will be refused.\n\nIf defined, only certificates provided by this file will be used: web.cacerts and  any\nsystem/default certificates will not be used.\n\nThis option has no effect if the per-host fingerprints option is set.\n\nThe format of the file is as follows:\n\n-----BEGIN CERTIFICATE-----\n... (certificate in base64 PEM encoding) ...\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\n... (certificate in base64 PEM encoding) ...\n-----END CERTIFICATE-----\n\nFor example:\n\n[hostsecurity]\nhg.example.com:fingerprints = sha256:c3ab8ff13720e8ad9047dd39466b3c8974e592c2fa383d4a3960714caef0c4f2\nhg2.example.com:fingerprints = sha1:914f1aff87249c09b6859b88b1906d30756491ca, sha1:fc:e2:8d:d9:51:cd:cb:c1:4d:18:6b:b7:44:8d:49:72:57:e6:cd:33\nhg3.example.com:fingerprints = sha256:9a:b0:dc:e2:75:ad:8a:b7:84:58:e5:1f:07:32:f1:87:e6:bd:24:22:af:b7:ce:8e:9c:b4:10:cf:b9:f4:0e:d2\nfoo.example.com:verifycertsfile = /etc/ssl/trusted-ca-certs.pem\n\nTo  change the default minimum protocol version to TLS 1.2 but to allow TLS 1.1 when connect‐\ning to hg.example.com:\n\n[hostsecurity]\nminimumprotocol = tls1.2\nhg.example.com:minimumprotocol = tls1.1\n\nhttpproxy\nUsed to access web-based Mercurial repositories through a HTTP proxy.\n\n#### host\n\nHost name and (optional) port of the proxy server, for example \"myproxy:8000\".\n\nno\n\nOptional. Comma-separated list of host names that should bypass the proxy.\n\n#### passwd\n\nOptional. Password to authenticate with at the proxy server.\n\n#### user\n\nOptional. User name to authenticate with at the proxy server.\n\n#### always\n\nOptional. Always use the proxy, even for localhost and any entries  in  httpproxy.no.\n(default: False)\n\n#### http\n\nUsed to configure access to Mercurial repositories via HTTP.\n\n#### timeout\n\nIf set, blocking operations will timeout after that many seconds.  (default: None)\n\n#### merge\n\nThis section specifies behavior during merges and updates.\n\n#### checkignored\n\nControls  behavior when an ignored file on disk has the same name as a tracked file in\nthe changeset being merged or updated to, and  has  different  contents.  Options  are\nabort, warn and ignore. With abort, abort on such files. With warn, warn on such files\nand back them up as .orig. With ignore, don't print a warning  and  back  them  up  as\n.orig. (default: abort)\n\n#### checkunknown\n\nControls  behavior  when  an  unknown  file  that isn't ignored has the same name as a\ntracked file in the changeset being merged or updated to, and has different  contents.\nSimilar to merge.checkignored, except for files that are not ignored. (default: abort)\n\n#### on-failure\n\nWhen set to continue (the default), the merge process attempts to merge all unresolved\nfiles using the merge chosen tool, regardless of whether previous file merge  attempts\nduring  the  process  succeeded  or not.  Setting this to prompt will prompt after any\nmerge failure continue or halt the merge process. Setting this to halt will  automati‐\ncally  halt  the  merge  process  on  any merge tool failure. The merge process can be\nrestarted by using the resolve command. When a merge is halted, the repository is left\nin a normal unresolved merge state.  (default: continue)\n\n#### strict-capability-check\n\nWhether  capabilities of internal merge tools are checked strictly or not, while exam‐\nining rules to decide merge tool to be used.  (default: False)\n\n#### merge-patterns\n\nThis section specifies merge tools to associate with particular file patterns. Tools  matched\nhere  will take precedence over the default merge tool. Patterns are globs by default, rooted\nat the repository root.\n\nExample:\n\n[merge-patterns]\n.c = kdiff3\n.jpg = myimgmerge\n\n#### merge-tools\n\nThis section configures external merge tools to use for file-level merges. This  section  has\nlikely  been  preconfigured at install time.  Use hg config merge-tools to check the existing\nconfiguration.  Also see hg help merge-tools for more details.\n\nExample ~/.hgrc:\n\n[merge-tools]\n# Override stock tool location\nkdiff3.executable = ~/bin/kdiff3\n# Specify command line\nkdiff3.args = $base $local $other -o $output\n# Give higher priority\nkdiff3.priority = 1\n\n# Changing the priority of preconfigured tool\nmeld.priority = 0\n\n# Disable a preconfigured tool\nvimdiff.disabled = yes\n\n# Define new tool\nmyHtmlTool.args = -m $local $other $base $output\nmyHtmlTool.regkey = Software\\FooSoftware\\HtmlMerge\nmyHtmlTool.priority = 1\n\nSupported arguments:\n\n#### priority\n\nThe priority in which to evaluate this tool.  (default: 0)\n\n#### executable\n\nEither just the name of the executable or its pathname.\n\nOn Windows, the path can use environment variables with ${ProgramFiles} syntax.\n\n(default: the tool name)\n\n#### args\n\nThe arguments to pass to the tool executable. You can refer to the files being  merged\nas well as the output file through these variables: $base, $local, $other, $output.\n\nThe  meaning  of  $local  and  $other can vary depending on which action is being per‐\nformed. During an update or merge, $local represents the original state of  the  file,\nwhile  $other  represents the commit you are updating to or the commit you are merging\nwith. During a rebase, $local represents the destination of  the  rebase,  and  $other\nrepresents the commit being rebased.\n\nSome  operations define custom labels to assist with identifying the revisions, acces‐\nsible via $labellocal, $labelother, and $labelbase. If custom labels  are  not  avail‐\nable,  these  will  be  local,  other, and base, respectively.  (default: $local $base\n$other)\n\n#### premerge\n\nAttempt to run internal non-interactive 3-way merge  tool  before  launching  external\ntool.   Options  are true, false, keep, keep-merge3, or keep-mergediff (experimental).\nThe keep option will leave markers in the file if the premerge fails. The  keep-merge3\nwill  do  the  same  but include information about the base of the merge in the marker\n(see internal :merge3 in hg help merge-tools). The keep-mergediff  option  is  similar\nbut  uses a different marker style (see internal :merge3 in hg help merge-tools). (de‐\nfault: True)\n\n#### binary\n\nThis tool can merge binary files. (default: False, unless tool was  selected  by  file\npattern match)\n\n#### symlink\n\nThis tool can merge symlinks. (default: False)\n\n#### check\n\nA list of merge success-checking options:\n\nchanged\n\nAsk whether merge was successful when the merged file shows no changes.\n\nconflicts\n\nCheck whether there are conflicts even though the tool reported success.\n\nprompt\n\nAlways prompt for merge success, regardless of success reported by tool.\n\n#### fixeol\n\nAttempt to fix up EOL changes caused by the merge tool.  (default: False)\n\n#### gui\n\nThis tool requires a graphical interface to run. (default: False)\n\n#### mergemarkers\n\nControls  whether  the  labels passed via $labellocal, $labelother, and $labelbase are\ndetailed  (respecting  mergemarkertemplate)  or  basic.  If  premerge   is   keep   or\nkeep-merge3, the conflict markers generated during premerge will be detailed if either\nthis option or the corresponding option in the [ui] section  is  detailed.   (default:\nbasic)\n\n#### mergemarkertemplate\n\nThis  setting can be used to override mergemarker from the [command-templates] section\non a per-tool basis; this applies to the $label-prefixed variables and to the conflict\nmarkers  that are generated if premerge is keep` or ``keep-merge3. See the correspond‐\ning variable in [ui] for more information.\n\n#### regkey\n\nWindows registry key which describes install location of  this  tool.  Mercurial  will\nsearch  for  this key first under HKEYCURRENTUSER and then under HKEYLOCALMACHINE.\n(default: None)\n\n#### regkeyalt\n\nAn alternate Windows registry key to try if the first key is not found.  The alternate\nkey uses the same regname and regappend semantics of the primary key.  The most common\nuse for this key is to search for 32bit applications on 64bit operating systems.  (de‐\nfault: None)\n\n#### regname\n\nName  of  value  to read from specified registry key.  (default: the unnamed (default)\nvalue)\n\n#### regappend\n\nString to append to the value read from the registry, typically the executable name of\nthe tool.  (default: None)\n\n#### pager\n\nSetting  used  to control when to paginate and with what external tool. See hg help pager for\ndetails.\n\n#### pager\n\nDefine the external tool used as pager.\n\nIf no pager is set, Mercurial  uses  the  environment  variable  $PAGER.   If  neither\npager.pager,  nor  $PAGER is set, a default pager will be used, typically less on Unix\nand more on Windows. Example:\n\n[pager]\npager = less -FRX\n\n#### ignore\n\nList of commands to disable the pager for. Example:\n\n[pager]\nignore = version, help, update\n\n#### patch\n\nSettings used when applying patches, for instance through the 'import' command or with Mercu‐\nrial Queues extension.\n\n#### eol\n\nWhen  set to 'strict' patch content and patched files end of lines are preserved. When\nset to lf or crlf, both files end of lines are ignored when patching  and  the  result\nline  endings  are normalized to either LF (Unix) or CRLF (Windows). When set to auto,\nend of lines are again ignored while patching but line endings in  patched  files  are\nnormalized  to their original setting on a per-file basis. If target file does not ex‐\nist or has no end of line, patch line endings are preserved.  (default: strict)\n\n#### fuzz\n\nThe number of lines of 'fuzz' to allow when applying patches. This controls  how  much\ncontext the patcher is allowed to ignore when trying to apply a patch.  (default: 2)\n\n#### paths\n\nAssigns symbolic names and behavior to repositories.\n\nOptions  are symbolic names defining the URL or directory that is the location of the reposi‐\ntory. Example:\n\n[paths]\nmyserver = https://example.com/myrepo\nlocalpath = /home/me/repo\n\nThese symbolic names can be used from the command line.  To  pull  from  myserver:  hg  pull\nmyserver.  To push to localpath: hg push localpath. You can check hg help urls for details\nabout valid URLs.\n\nOptions containing colons (:) denote sub-options that can influence behavior  for  that  spe‐\ncific path. Example:\n\n[paths]\nmyserver = https://example.com/mypath\nmyserver:pushurl = ssh://example.com/mypath\n\nPaths using the path://otherpath scheme will inherit the sub-options value from the path they\npoint to.\n\nThe following sub-options can be defined:\n\n#### multi-urls\n\nA boolean option. When enabled the value of the [paths] entry will be parsed as a list\nand  the alias will resolve to multiple destination. If some of the list entry use the\npath:// syntax, the suboption will be inherited individually.\n\n#### pushurl\n\nThe URL to use for push operations. If not defined, the location defined by the path's\nmain entry is used.\n\n#### pushrev\n\nA revset defining which revisions to push by default.\n\nWhen  hg push is executed without a -r argument, the revset defined by this sub-option\nis evaluated to determine what to push.\n\nFor example, a value of . will push the working directory's revision by default.\n\nRevsets specifying bookmarks will not result in the bookmark being pushed.\n\n#### bookmarks.mode\n\nHow bookmark will be dealt during the exchange. It support the following value\n\n• default: the default behavior, local and remote bookmarks are \"merged\" on push/pull.\n\n• mirror: when pulling, replace local bookmarks by remote bookmarks. This is useful to\nreplicate a repository, or as an optimization.\n\n• ignore: ignore bookmarks during exchange.  (This currently only affect pulling)\n\nThe following special named paths exist:\n\n#### default\n\nThe URL or directory to use when no source or remote is specified.\n\nhg clone will automatically define this path to the location the repository was cloned\nfrom.\n\n#### default-push\n\n(deprecated) The URL or directory for the default hg  push location.   default:pushurl\nshould be used instead.\n\n#### phases\n\nSpecifies  default  handling of phases. See hg help phases for more information about working\nwith phases.\n\n#### publish\n\nControls draft phase behavior when working as a server. When true,  pushed  changesets\nare set to public in both client and server and pulled or cloned changesets are set to\npublic in the client.  (default: True)\n\n#### new-commit\n\nPhase of newly-created commits.  (default: draft)\n\n#### checksubrepos\n\nCheck the phase of the current revision of each subrepository. Allowed values are \"ig‐\nnore\",  \"follow\"  and \"abort\". For settings other than \"ignore\", the phase of the cur‐\nrent revision of each subrepository is checked before committing  the  parent  reposi‐\ntory.  If any of those phases is greater than the phase of the parent repository (e.g.\nif a subrepo is in a \"secret\" phase while the parent repo is in  \"draft\"  phase),  the\ncommit  is  either aborted (if checksubrepos is set to \"abort\") or the higher phase is\nused for the parent repository commit (if set to \"follow\").  (default: follow)\n\n#### profiling\n\nSpecifies profiling type, format, and file output. Two profilers are  supported:  an  instru‐\nmenting profiler (named ls), and a sampling profiler (named stat).\n\nIn  this  section description, 'profiling data' stands for the raw data collected during pro‐\nfiling, while 'profiling report' stands for a statistical text report generated from the pro‐\nfiling data.\n\n#### enabled\n\nEnable the profiler.  (default: false)\n\nThis is equivalent to passing --profile on the command line.\n\n#### type\n\nThe type of profiler to use.  (default: stat)\n\nls\n\nUse  Python's built-in instrumenting profiler. This profiler works on all plat‐\nforms, but each line number it reports is the first line of  a  function.  This\nrestriction makes it difficult to identify the expensive parts of a non-trivial\nfunction.\n\nstat\n\nUse a statistical profiler, statprof. This profiler is most useful for  profil‐\ning commands that run for longer than about 0.1 seconds.\n\n#### format\n\nProfiling format.  Specific to the ls instrumenting profiler.  (default: text)\n\ntext\n\nGenerate  a  profiling  report.  When saving to a file, it should be noted that\nonly the report is saved, and the profiling data is not kept.\n\nkcachegrind\n\nFormat profiling data for kcachegrind use: when saving to a file, the generated\nfile can directly be loaded into kcachegrind.\n\n#### statformat\n\nProfiling format for the stat profiler.  (default: hotpath)\n\nhotpath\n\nShow a tree-based display containing the hot path of execution (where most time\nwas spent).\n\nbymethod\n\nShow a table of methods ordered by how frequently they are active.\n\nbyline\n\nShow a table of lines in files ordered by how frequently they are active.\n\njson\n\nRender profiling data as JSON.\n\n#### freq\n\nSampling frequency.  Specific to the stat sampling profiler.  (default: 1000)\n\n#### output\n\nFile path where profiling data or report should be saved. If the file  exists,  it  is\nreplaced. (default: None, data is printed on stderr)\n\n#### sort\n\nSort  field.   Specific  to the ls instrumenting profiler.  One of callcount, reccall‐‐\ncount, totaltime and inlinetime.  (default: inlinetime)\n\n#### time-track\n\nControl if the stat profiler track cpu or real time.  (default: cpu on Windows, other‐\nwise real)\n\n#### limit\n\nNumber of lines to show. Specific to the ls instrumenting profiler.  (default: 30)\n\n#### nested\n\nShow  at most this number of lines of drill-down info after each main entry.  This can\nhelp explain the difference between Total and Inline.  Specific to the ls  instrument‐\ning profiler.  (default: 0)\n\n#### showmin\n\nMinimum  fraction of samples an entry must have for it to be displayed.  Can be speci‐\nfied as a float between 0.0 and 1.0 or can have a % afterwards to allow values  up  to\n100. e.g. 5%.\n\nOnly used by the stat profiler.\n\nFor the hotpath format, default is 0.05.  For the chrome format, default is 0.005.\n\nThe option is unused on other formats.\n\n#### showmax\n\nMaximum  fraction of samples an entry can have before it is ignored in display. Values\nformat is the same as showmin.\n\nOnly used by the stat profiler.\n\nFor the chrome format, default is 0.999.\n\nThe option is unused on other formats.\n\n#### showtime\n\nShow time taken as absolute durations, in addition to percentages.  Only used  by  the\nhotpath format.  (default: true)\n\n#### progress\n\nMercurial  commands can draw progress bars that are as informative as possible. Some progress\nbars only offer indeterminate information, while others have a definite end point.\n\n#### debug\n\nWhether to print debug info when updating the progress bar. (default: False)\n\n#### delay\n\nNumber of seconds (float) before showing the progress bar. (default: 3)\n\n#### changedelay\n\nMinimum delay before showing a new topic. When set to less  than  3  *  refresh,  that\nvalue will be used instead. (default: 1)\n\n#### estimateinterval\n\nMaximum  sampling  interval  in seconds for speed and estimated time calculation. (de‐\nfault: 60)\n\n#### refresh\n\nTime in seconds between refreshes of the progress bar. (default: 0.1)\n\n#### format\n\nFormat of the progress bar.\n\nValid entries for the format field are topic, bar, number, unit, estimate, speed,  and\nitem.  item defaults to the last 20 characters of the item, but this can be changed by\nadding either -<num> which would take the last num characters, or +<num> for the first\nnum characters.\n\n(default: topic bar number estimate)\n\n#### width\n\nIf set, the maximum width of the progress information (that is, min(width, term width)\nwill be used).\n\n#### clear-complete\n\nClear the progress bar after it's done. (default: True)\n\n#### disable\n\nIf true, don't show a progress bar.\n\n#### assume-tty\n\nIf true, ALWAYS show a progress bar, unless disable is given.\n\n#### rebase\n\n#### evolution.allowdivergence\n\nDefault to False, when True allow creating divergence when performing rebase of  obso‐\nlete changesets.\n\n#### revsetalias\n\nAlias definitions for revsets. See hg help revsets for details.\n\n#### rewrite\n\n#### backup-bundle\n\nWhether to save stripped changesets to a bundle file. (default: True)\n\n#### update-timestamp\n\nIf  true, updates the date and time of the changeset to current. It is only applicable\nfor hg amend, hg commit --amend and hg uncommit in the current version.\n\n#### empty-successor\n\nControl what happens with empty successors that are the result of rewrite  operations.  If\nset  to skip, the successor is not created. If set to keep, the empty successor is created\nand kept.\n\nCurrently, only the rebase and absorb commands consider this  configuration.   (EXPERIMEN‐\nTAL)\n\n#### share\n\n#### safe-mismatch.source-safe\n\nControls what happens when the shared repository does not use the share-safe mechanism\nbut its source repository does.\n\nPossible values are abort (default), allow, upgrade-abort and upgrade-allow.\n\nabort Disallows running any command and aborts allow Respects the feature presence  in\nthe  share  source  upgrade-abort  tries to upgrade the share to use share-safe; if it\nfails, aborts upgrade-allow tries to upgrade the share; if it fails, continue  by  re‐\nspecting the share source setting\n\nCheck hg help config.format.use-share-safe for details about the share-safe feature.\n\n#### safe-mismatch.source-safe.warn\n\nShows  a  warning  on operations if the shared repository does not use share-safe, but\nthe source repository does.  (default: True)\n\n#### safe-mismatch.source-not-safe\n\nControls what happens when the shared repository uses the share-safe mechanism but its\nsource does not.\n\nPossible values are abort (default), allow, downgrade-abort and downgrade-allow.\n\nabort  Disallows running any command and aborts allow Respects the feature presence in\nthe share source downgrade-abort tries to downgrade the share to not  use  share-safe;\nif  it  fails,  aborts  downgrade-allow  tries  to  downgrade  the  share  to  not use\nshare-safe; if it fails, continue by respecting the shared source setting\n\nCheck hg help config.format.use-share-safe for details about the share-safe feature.\n\n#### safe-mismatch.source-not-safe.warn\n\nShows a warning on operations if the shared repository uses share-safe, but the source\nrepository does not.  (default: True)\n\n#### storage\n\nControl the strategy Mercurial uses internally to store history. Options in this category im‐\npact performance and repository size.\n\n#### revlog.issue6528.fix-incoming\n\nVersion 5.8 of Mercurial had a bug leading to altering the  parent  of  file  revision\nwith  copy  information  (or  any  other metadata) on exchange. This leads to the copy\nmetadata to be overlooked by various internal logic. The issue was fixed in  Mercurial\n5.8.1.  (See https://bz.mercurial-scm.org/showbug.cgi?id=6528 for details)\n\nAs  a result Mercurial is now checking and fixing incoming file revisions to make sure\nthere parents are in the right order. This behavior can be disabled  by  setting  this\noption to no. This apply to revisions added through push, pull, clone and unbundle.\n\nTo fix affected revisions that already exist within the repository, one can use hg de‐‐\nbug-repair-issue-6528.\n\n#### revlog.optimize-delta-parent-choice\n\nWhen storing a merge revision, both parents will be equally considered as  a  possible\ndelta  base.  This  results in better delta selection and improved revlog compression.\nThis option is enabled by default.\n\nTurning this option off can result in large increase of repository size for repository\nwith many merges.\n\n#### revlog.persistent-nodemap.mmap\n\nWhether to use the Operating System \"memory mapping\" feature (when possible) to access\nthe persistent nodemap data. This improve performance and reduce memory pressure.\n\nDefault to True.\n\nFor details on the \"persistent-nodemap\" feature, see: hg  help  config.format.use-per‐‐\nsistent-nodemap.\n\n#### revlog.persistent-nodemap.slow-path\n\nControl  the  behavior  of Merucrial when using a repository with \"persistent\" nodemap\nwith an installation of Mercurial without a fast implementation for the feature:\n\nallow: Silently use the slower implementation to access the repository.   warn:  Warn,\nbut  use the slower implementation to access the repository.  abort: Prevent access to\nsuch repositories. (This is the default)\n\nFor details on the \"persistent-nodemap\" feature, see: hg  help  config.format.use-per‐‐\nsistent-nodemap.\n\n#### revlog.reuse-external-delta-parent\n\nControl the order in which delta parents are considered when adding new revisions from\nan external source.  (typically: apply bundle from hg pull or hg push).\n\nNew revisions are usually provided as a delta against  other  revisions.  By  default,\nMercurial  will try to reuse this delta first, therefore using the same \"delta parent\"\nas the source. Directly using delta's from the source reduces CPU  usage  and  usually\nspeeds  up  operation.  However, in some case, the source might have sub-optimal delta\nbases and forcing their reevaluation is useful. For example, pushes from an old client\ncould  have sub-optimal delta's parent that the server want to optimize. (lack of gen‐\neral delta, bad parents, choice, lack of sparse-revlog, etc).\n\nThis option is enabled by default. Turning it off will ensure bad delta parent choices\nfrom older client do not propagate to this repository, at the cost of a small increase\nin CPU consumption.\n\nNote: this option only control the order in which delta parents are considered.   Even\nwhen  disabled,  the  existing  delta from the source will be reused if the same delta\nparent is selected.\n\n#### revlog.reuse-external-delta\n\nControl the reuse of delta from external source.  (typically:  apply  bundle  from  hg\npull or hg push).\n\nNew  revisions  are  usually provided as a delta against another revision. By default,\nMercurial will not recompute  the  same  delta  again,  trusting  externally  provided\ndeltas. There have been rare cases of small adjustment to the diffing algorithm in the\npast. So in some rare case, recomputing delta provided by ancient clients can provides\nbetter  results.  Disabling this option means going through a full delta recomputation\nfor all incoming revisions. It means a large increase in CPU usage and will slow oper‐\nations down.\n\nThis  option  is enabled by default. When disabled, it also disables the related stor‐‐\nage.revlog.reuse-external-delta-parent option.\n\n#### revlog.zlib.level\n\nZlib compression level used when storing data  into  the  repository.  Accepted  Value\nrange from 1 (lowest compression) to 9 (highest compression). Zlib default value is 6.\n\n#### revlog.zstd.level\n\nzstd  compression  level  used  when  storing data into the repository. Accepted Value\nrange from 1 (lowest compression) to 22 (highest compression).  (default 3)\n\n#### server\n\nControls generic server settings.\n\n#### bookmarks-pushkey-compat\n\nTrigger pushkey hook when being pushed bookmark updates. This config exist for compat‐\nibility purpose (default to True)\n\nIf you use pushkey and pre-pushkey hooks to control bookmark movement we recommend you\nmigrate them to txnclose-bookmark and pretxnclose-bookmark.\n\n#### compressionengines\n\nList of compression engines and their relative priority to advertise to clients.\n\nThe order of compression engines determines their priority, the first having the high‐\nest  priority.  If  a compression engine is not listed here, it won't be advertised to\nclients.\n\nIf not set (the default), built-in defaults are  used.  Run  hg  debuginstall to  list\navailable compression engines and their default wire protocol priority.\n\nOlder  Mercurial  clients only support zlib compression and this setting has no effect\nfor legacy clients.\n\n#### uncompressed\n\nWhether to allow clients to clone a repository using the uncompressed streaming proto‐\ncol. This transfers about 40% more data than a regular clone, but uses less memory and\nCPU on both server and client. Over a LAN (100 Mbps or better) or a very fast WAN,  an\nuncompressed  streaming  clone  is a lot faster (~10x) than a regular clone. Over most\nWAN connections (anything slower than about 6 Mbps), uncompressed streaming is slower,\nbecause  of the extra data transfer overhead. This mode will also temporarily hold the\nwrite lock while determining what data to transfer.  (default: True)\n\n#### uncompressedallowsecret\n\nWhether to allow stream clones when the repository contains  secret  changesets.  (de‐\nfault: False)\n\n#### preferuncompressed\n\nWhen  set,  clients  will  try  to  use the uncompressed streaming protocol. (default:\nFalse)\n\n#### disablefullbundle\n\nWhen set, servers will refuse attempts to do pull-based clones.   If  this  option  is\nset,  preferuncompressed  and/or  clone bundles are highly recommended. Partial clones\nwill still be allowed.  (default: False)\n\n#### streamunbundle\n\nWhen set, servers will apply data sent from the client directly, otherwise it will  be\nwritten to a temporary file first. This option effectively prevents concurrent pushes.\n\n#### pullbundle\n\nWhen  set,  the  server  will  check pullbundles.manifest for bundles covering the re‐\nquested heads and common nodes. The first matching  entry  will  be  streamed  to  the\nclient.\n\nFor HTTP transport, the stream will still use zlib compression for older clients.\n\n#### concurrent-push-mode\n\nLevel of allowed race condition between two pushing clients.\n\n• 'strict':  push is abort if another client touched the repository while the push was\npreparing.\n\n• 'check-related': push is only aborted if it affects  head  that  got  also  affected\nwhile the push was preparing. (default since 5.4)\n\n'check-related'  only  takes  effect  for  compatible clients (version 4.3 and later).\nOlder clients will use 'strict'.\n\n#### validate\n\nWhether to validate the completeness of pushed changesets by  checking  that  all  new\nfile revisions specified in manifests are present. (default: False)\n\n#### maxhttpheaderlen\n\nInstruct  HTTP  clients  not to send request headers longer than this many bytes. (de‐\nfault: 1024)\n\n#### bundle1\n\nWhether to allow clients to push and pull using the legacy  bundle1  exchange  format.\n(default: True)\n\n#### bundle1gd\n\nLike bundle1 but only used if the repository is using the generaldelta storage format.\n(default: True)\n\n#### bundle1.push\n\nWhether to allow clients to push using the legacy bundle1 exchange  format.  (default:\nTrue)\n\n#### bundle1gd.push\n\nLike  bundle1.push  but  only used if the repository is using the generaldelta storage\nformat. (default: True)\n\n#### bundle1.pull\n\nWhether to allow clients to pull using the legacy bundle1 exchange  format.  (default:\nTrue)\n\n#### bundle1gd.pull\n\nLike  bundle1.pull  but  only used if the repository is using the generaldelta storage\nformat. (default: True)\n\nLarge repositories using the generaldelta storage format should consider setting  this\noption because converting generaldelta repositories to the exchange format required by\nthe bundle1 data format can consume a lot of CPU.\n\n#### bundle2.stream\n\nWhether to allow clients to pull using  the  bundle2  streaming  protocol.   (default:\nTrue)\n\n#### zliblevel\n\nInteger  between  -1  and 9 that controls the zlib compression level for wire protocol\ncommands that send zlib compressed output (notably the commands that  send  repository\nhistory data).\n\nThe  default  (-1) uses the default zlib compression level, which is likely equivalent\nto 6. 0 means no compression. 9 means maximum compression.\n\nSetting this option allows server operators to make trade-offs between  bandwidth  and\nCPU  used.  Lowering  the  compression  lowers CPU utilization but sends more bytes to\nclients.\n\nThis option only impacts the HTTP server.\n\n#### zstdlevel\n\nInteger between 1 and 22 that controls the zstd compression level  for  wire  protocol\ncommands.  1 is the minimal amount of compression and 22 is the highest amount of com‐\npression.\n\nThe default (3) should be significantly faster than zlib while likely delivering  bet‐\nter compression ratios.\n\nThis option only impacts the HTTP server.\n\nSee also server.zliblevel.\n\n#### view\n\nRepository filter used when exchanging revisions with the peer.\n\nThe default view (served) excludes secret and hidden changesets.  Another useful value\nis immutable (no draft, secret or hidden changesets). (EXPERIMENTAL)\n\n#### smtp\n\nConfiguration for extensions that need to send email messages.\n\n#### host\n\nHost name of mail server, e.g. \"mail.example.com\".\n\n#### port\n\nOptional. Port to connect to on mail server. (default: 465 if tls is smtps; 25  other‐\nwise)\n\n#### tls\n\nOptional.  Method  to  enable  TLS  when connecting to mail server: starttls, smtps or\nnone. (default: none)\n\n#### username\n\nOptional. User name for authenticating with the SMTP server.  (default: None)\n\n#### password\n\nOptional. Password for authenticating with the SMTP server. If not specified, interac‐\ntive sessions will prompt the user for a password; non-interactive sessions will fail.\n(default: None)\n\nlocalhostname\n\nOptional. The hostname that the sender can use to identify itself to the MTA.\n\n#### subpaths\n\nSubrepository source URLs can go stale if a remote server changes name or becomes temporarily\nunavailable. This section lets you define rewrite rules of the form:\n\n<pattern> = <replacement>\n\nwhere  pattern is a regular expression matching a subrepository source URL and replacement is\nthe replacement string used to rewrite it. Groups can be matched in pattern and referenced in\nreplacements. For instance:\n\nhttp://server/(.*)-hg/ = http://hg.server/\\1/\n\nrewrites http://server/foo-hg/ into http://hg.server/foo/.\n\nRelative  subrepository paths are first made absolute, and the rewrite rules are then applied\non the full (absolute) path. If pattern doesn't match the full path, an attempt  is  made  to\napply it on the relative path alone. The rules are applied in definition order.\n\n#### subrepos\n\nThis  section  contains options that control the behavior of the subrepositories feature. See\nalso hg help subrepos.\n\nSecurity note: auditing in Mercurial is known to be insufficient to prevent  clone-time  code\nexecution  with  carefully  constructed  Git  subrepos.  It is unknown if a similar detect is\npresent in Subversion subrepos. Both Git and Subversion subrepos are disabled by default  out\nof security concerns. These subrepo types can be enabled using the respective options below.\n\n#### allowed\n\nWhether subrepositories are allowed in the working directory.\n\nWhen false, commands involving subrepositories (like hg update) will fail for all sub‐\nrepository types.  (default: true)\n\n#### hg:allowed\n\nWhether Mercurial subrepositories are allowed in the working  directory.  This  option\nonly has an effect if subrepos.allowed is true.  (default: true)\n\n#### git:allowed\n\nWhether  Git  subrepositories  are allowed in the working directory.  This option only\nhas an effect if subrepos.allowed is true.\n\nSee the security note above before enabling Git subrepos.  (default: false)\n\n#### svn:allowed\n\nWhether Subversion subrepositories are allowed in the working directory.  This  option\nonly has an effect if subrepos.allowed is true.\n\nSee the security note above before enabling Subversion subrepos.  (default: false)\n\n#### templatealias\n\nAlias definitions for templates. See hg help templates for details.\n\n#### templates\n\nUse the [templates] section to define template strings.  See hg help templates for details.\n\n#### trusted\n\nMercurial  will not use the settings in the .hg/hgrc file from a repository if it doesn't be‐\nlong to a trusted user or to a trusted group, as various hgrc features allow  arbitrary  com‐\nmands  to  be  run.  This issue is often encountered when configuring hooks or extensions for\nshared repositories or servers. However, the web interface will use some safe  settings  from\nthe [web] section.\n\nThis section specifies what users and groups are trusted. The current user is always trusted.\nTo trust everybody, list a user or a group with name *. These settings must be placed  in  an\nalready-trusted  file to take effect, such as $HOME/.hgrc of the user or service running Mer‐\ncurial.\n\n#### users\n\nComma-separated list of trusted users.\n\n#### groups\n\nComma-separated list of trusted groups.\n\nui\nUser interface controls.\n\n#### archivemeta\n\nWhether to include the .hgarchival.txt file containing  meta  data  (hashes  for  the\nrepository  base  and  for tip) in archives created by the hg archive command or down‐\nloaded via hgweb.  (default: True)\n\n#### askusername\n\nWhether to prompt for a username when committing. If True,  and  neither  $HGUSER  nor\n$EMAIL  has  been specified, then the user will be prompted to enter a username. If no\nusername is entered, the default USER@HOST is used instead.  (default: False)\n\n#### clonebundles\n\nWhether the \"clone bundles\" feature is enabled.\n\nWhen enabled, hg clone may download and apply a server-advertised bundle file  from  a\nURL instead of using the normal exchange mechanism.\n\nThis can likely result in faster and more reliable clones.\n\n(default: True)\n\n#### clonebundlefallback\n\nWhether  failure  to apply an advertised \"clone bundle\" from a server should result in\nfallback to a regular clone.\n\nThis is disabled by default because servers advertising \"clone bundles\" often do so to\nreduce server load. If advertised bundles start mass failing and clients automatically\nfall back to a regular clone, this would add significant and unexpected  load  to  the\nserver since the server is expecting clone operations to be offloaded to pre-generated\nbundles. Failing fast (the default  behavior)  ensures  clients  don't  overwhelm  the\nserver when \"clone bundle\" application fails.\n\n(default: False)\n\n#### clonebundleprefers\n\nDefines preferences for which \"clone bundles\" to use.\n\nServers  advertising  \"clone  bundles\"  may advertise multiple available bundles. Each\nbundle may have different attributes, such as the bundle type and compression  format.\nThis option is used to prefer a particular bundle over another.\n\nThe following keys are defined by Mercurial:\n\nBUNDLESPEC\nA  bundle  type  specifier.  These  are  strings  passed to hg bundle -t.  e.g.\ngzip-v2 or bzip2-v1.\n\nCOMPRESSION\nThe compression format of the bundle. e.g. gzip and bzip2.\n\nServer operators may define custom keys.\n\nExample values: COMPRESSION=bzip2, BUNDLESPEC=gzip-v2, COMPRESSION=gzip.\n\nBy default, the first bundle advertised by the server is used.\n\n#### color\n\nWhen to colorize output. Possible value are Boolean (\"yes\" or \"no\"),  or  \"debug\",  or\n\"always\".  (default:  \"yes\").  \"yes\" will use color whenever it seems possible. See hg\nhelp color for details.\n\n#### commitsubrepos\n\nWhether to commit modified subrepositories when committing the parent  repository.  If\nFalse  and  one  subrepository  has  uncommitted changes, abort the commit.  (default:\nFalse)\n\n#### debug\n\nPrint debugging information. (default: False)\n\n#### editor\n\nThe editor to use during a commit. (default: $EDITOR or vi)\n\n#### fallbackencoding\n\nEncoding to try if it's not possible to decode the changelog  using  UTF-8.  (default:\nISO-8859-1)\n\n#### graphnodetemplate\n\n(DEPRECATED) Use command-templates.graphnode instead.\n\n#### ignore\n\nA  file  to read per-user ignore patterns from. This file should be in the same format\nas a repository-wide .hgignore file. Filenames are relative to  the  repository  root.\nThis option supports hook syntax, so if you want to specify multiple ignore files, you\ncan do so by setting something like ignore.other = ~/.hgignore2. For  details  of  the\nignore file format, see the hgignore(5) man page.\n\n#### interactive\n\nAllow to prompt the user. (default: True)\n\n#### interface\n\nSelect  the default interface for interactive features (default: text).  Possible val‐\nues are 'text' and 'curses'.\n\n#### interface.chunkselector\n\nSelect the interface for change recording (e.g. hg commit -i).   Possible  values  are\n'text' and 'curses'.  This config overrides the interface specified by ui.interface.\n\n#### large-file-limit\n\nLargest file size that gives no memory use warning.  Possible values are integers or 0\nto disable the check.  (default: 10000000)\n\n#### logtemplate\n\n(DEPRECATED) Use command-templates.log instead.\n\n#### merge\n\nThe conflict resolution program to use during a manual merge.  For more information on\nmerge   tools   see  hg  help  merge-tools.   For  configuring  merge  tools  see  the\n[merge-tools] section.\n\n#### mergemarkers\n\nSets the merge conflict marker label styling. The detailed style uses the command-tem‐‐\nplates.mergemarker setting to style the labels.  The basic style just uses 'local' and\n'other' as the marker label.  One of basic or detailed.  (default: basic)\n\n#### mergemarkertemplate\n\n(DEPRECATED) Use command-templates.mergemarker instead.\n\n#### message-output\n\nWhere to write status and error messages. (default: stdio)\n\nchannel\n\nUse separate channel for structured output. (Command-server only)\n\nstderr\n\nEverything to stderr.\n\nstdio\n\nStatus to stdout, and error to stderr.\n\n#### origbackuppath\n\nThe path to a directory used to store generated .orig files. If the path is not a  di‐\nrectory,  one  will  be created.  If set, files stored in this directory have the same\nname as the original file and do not have a .orig suffix.\n\n#### paginate\n\nControl the pagination of command output (default: True). See hg  help  pager for  de‐\ntails.\n\n#### patch\n\nAn  optional  external  tool  that hg import and some extensions will use for applying\npatches. By default Mercurial uses an internal patch utility. The external  tool  must\nwork  as the common Unix patch program. In particular, it must accept a -p argument to\nstrip patch headers, a -d argument to specify the current directory, a  file  name  to\npatch, and a patch file to take from stdin.\n\nIt  is  possible  to  specify a patch tool together with extra arguments. For example,\nsetting this option to patch --merge will use the patch program with its  2-way  merge\noption.\n\n#### portablefilenames\n\nCheck for portable filenames. Can be warn, ignore or abort.  (default: warn)\n\nwarn\n\nPrint a warning message on POSIX platforms, if a file with a non-portable file‐\nname is added (e.g. a file with a name that can't be created on Windows because\nit contains reserved parts like AUX, reserved characters like :, or would cause\na case collision with an existing file).\n\nignore\n\nDon't print a warning.\n\nabort\n\nThe command is aborted.\n\ntrue\n\nAlias for warn.\n\nfalse\n\nAlias for ignore.\n\nOn Windows, this configuration option is ignored and the command aborted.\n\n#### pre-merge-tool-output-template\n\n(DEPRECATED) Use command-template.pre-merge-tool-output instead.\n\n#### quiet\n\nReduce the amount of output printed.  (default: False)\n\n#### relative-paths\n\nPrefer relative paths in the UI.\n\n#### remotecmd\n\nRemote command to use for clone/push/pull operations.  (default: hg)\n\nreportuntrusted\n\nWarn if a .hg/hgrc file is ignored due to not being owned by a trusted user or  group.\n(default: True)\n\n#### slash\n\n(Deprecated. Use slashpath template filter instead.)\n\nDisplay paths using a slash (/) as the path separator. This only makes a difference on\nsystems where the default path separator is not the slash character (e.g. Windows uses\nthe backslash character (\\)).  (default: False)\n\n#### statuscopies\n\nDisplay copies in the status command.\n\n#### ssh\n\nCommand to use for SSH connections. (default: ssh)\n\n#### ssherrorhint\n\nA hint shown to the user in the case of SSH error (e.g.  Please see http://company/in‐‐\nternalwiki/ssh.html)\n\n#### strict\n\nRequire exact command names, instead of allowing unambiguous abbreviations.  (default:\nFalse)\n\n#### style\n\nName of style to use for command output.\n\n#### supportcontact\n\nA URL where users should report a Mercurial traceback. Use this if you are a large or‐\nganisation with its own Mercurial deployment process and crash reports should  be  ad‐\ndressed to your internal support.\n\n#### textwidth\n\nMaximum width of help text. A longer line generated by hg help or hg subcommand --help\nwill be broken after white space to get this width or the  terminal  width,  whichever\ncomes  first.   A  non-positive value will disable this and the terminal width will be\nused. (default: 78)\n\n#### timeout\n\nThe timeout used when a lock is held (in seconds), a negative value means no  timeout.\n(default: 600)\n\n#### timeout.warn\n\nTime  (in seconds) before a warning is printed about held lock. A negative value means\nno warning. (default: 0)\n\n#### traceback\n\nMercurial always prints a traceback when an unknown exception occurs. Setting this  to\nTrue will make Mercurial print a traceback on all exceptions, even those recognized by\nMercurial (such as IOError or MemoryError). (default: False)\n\n#### tweakdefaults\n\nBy default Mercurial's behavior changes very little from release to release, but over time\nthe  recommended  config  settings  shift.  Enable  this config to opt in to get automatic\ntweaks to Mercurial's behavior over time. This config setting will have no effect  if  HG‐‐\nPLAIN is set or HGPLAINEXCEPT is set and does not include tweakdefaults. (default: False)\n\nIt currently means:\n\n[ui]\n# The rollback command is dangerous. As a rule, don't use it.\nrollback = False\n# Make `hg status` report copy information\nstatuscopies = yes\n# Prefer curses UIs when available. Revert to plain-text with `text`.\ninterface = curses\n# Make compatible commands emit cwd-relative paths by default.\nrelative-paths = yes\n\n[commands]\n# Grep working directory by default.\ngrep.all-files = True\n# Refuse to perform an `hg update` that would cause a file content merge\nupdate.check = noconflict\n# Show conflicts information in `hg status`\nstatus.verbose = True\n# Make `hg resolve` with no action (like `-m`) fail instead of re-merging.\nresolve.explicit-re-merge = True\n\n[diff]\ngit = 1\nshowfunc = 1\nword-diff = 1\n\n#### username\n\nThe committer of a changeset created when running \"commit\".  Typically a person's name\nand email address, e.g. Fred Widget <fred@example.com>. Environment variables  in  the\nusername are expanded.\n\n(default:  $EMAIL  or username@hostname. If the username in hgrc is empty, e.g. if the\nsystem admin set username = in the system hgrc, it has to be specified manually or  in\na different hgrc file)\n\n#### verbose\n\nIncrease the amount of output printed. (default: False)\n\n#### command-templates\n\nTemplates used for customizing the output of commands.\n\n#### graphnode\n\nThe  template  used  to  print  changeset nodes in an ASCII revision graph.  (default:\n{graphnode})\n\n#### log\n\nTemplate string for commands that print changesets.\n\n#### mergemarker\n\nThe template used to print the commit description next to each conflict marker  during\nmerge conflicts. See hg help templates for the template format.\n\nDefaults to showing the hash, tags, branches, bookmarks, author, and the first line of\nthe commit description.\n\nIf you use non-ASCII characters in  names  for  tags,  branches,  bookmarks,  authors,\nand/or  commit  descriptions, you must pay attention to encodings of managed files. At\ntemplate expansion, non-ASCII characters use the encoding specified by the  --encoding\nglobal  option,  HGENCODING or other environment variables that govern your locale. If\nthe encoding of the merge markers is different from the encoding of the merged  files,\nserious problems may occur.\n\nCan be overridden per-merge-tool, see the [merge-tools] section.\n\n#### oneline-summary\n\nA  template  used  by hg rebase and other commands for showing a one-line summary of a\ncommit. If the template configured here is longer than one line, then only  the  first\nline is used.\n\nThe  template  can  be  overridden  per command by defining a template in oneline-sum‐\nmary.<command>, where <command> can be e.g. \"rebase\".\n\n#### pre-merge-tool-output\n\nA template that is printed before executing an external merge tool. This can  be  used\nto print out additional context that might be useful to have during the conflict reso‐\nlution, such as the description of the various commits involved or bookmarks/tags.\n\nAdditional information is available in the local`, ``base, and other dicts. For  exam‐\nple: {local.label}, {base.name}, or {other.islink}.\n\n#### web\n\nWeb interface configuration. The settings in this section apply to both the builtin webserver\n(started by hg serve) and the script you run through a webserver (hgweb.cgi and  the  deriva‐\ntives for FastCGI and WSGI).\n\nThe  Mercurial  webserver  does no authentication (it does not prompt for usernames and pass‐\nwords to validate who users are), but it does do authorization (it grants  or  denies  access\nfor  authenticated  users  based on settings in this section). You must either configure your\nwebserver to do authentication for you, or disable the authorization checks.\n\nFor a quick setup in a trusted environment, e.g., a private LAN, where you want it to  accept\npushes from anybody, you can use the following command line:\n\n$ hg --config web.allow-push=* --config web.pushssl=False serve\n\nNote  that this will allow anybody to push anything to the server and that this should not be\nused for public servers.\n\nThe full set of options is:\n\n#### accesslog\n\nWhere to output the access log. (default: stdout)\n\n#### address\n\nInterface address to bind to. (default: all)\n\n#### allow-archive\n\nList of archive format (bz2, gz, zip) allowed for downloading.  (default: empty)\n\n#### allowbz2\n\n(DEPRECATED) Whether to allow .tar.bz2 downloading of repository revisions.  (default:\nFalse)\n\n#### allowgz\n\n(DEPRECATED)  Whether to allow .tar.gz downloading of repository revisions.  (default:\nFalse)\n\n#### allow-pull\n\nWhether to allow pulling from the repository. (default: True)\n\n#### allow-push\n\nWhether to allow pushing to the repository. If empty or not set, pushing  is  not  al‐\nlowed.  If  the  special  value *, any remote user can push, including unauthenticated\nusers. Otherwise, the remote user must have been authenticated, and the  authenticated\nuser  name must be present in this list. The contents of the allow-push list are exam‐\nined after the denypush list.\n\nallowread\n\nIf the user has not already been denied repository  access  due  to  the  contents  of\ndenyread,  this  list  determines  whether to grant repository access to the user. If\nthis list is not empty, and the user is unauthenticated or not present  in  the  list,\nthen  access  is  denied for the user. If the list is empty or not set, then access is\npermitted to all users by default. Setting allowread to the special value * is equiv‐\nalent to it not being set (i.e. access is permitted to all users). The contents of the\nallowread list are examined after the denyread list.\n\n#### allowzip\n\n(DEPRECATED) Whether to allow .zip downloading of repository revisions.  This  feature\ncreates temporary files.  (default: False)\n\n#### archivesubrepos\n\nWhether to recurse into subrepositories when archiving.  (default: False)\n\n#### baseurl\n\nBase  URL  to  use  when publishing URLs in other locations, so third-party tools like\nemail notification hooks can construct URLs. Example: http://hgserver/repos/.\n\n#### cacerts\n\nPath to file containing a list of PEM encoded certificate authority certificates.  En‐\nvironment variables and ~user constructs are expanded in the filename. If specified on\nthe client, then it will verify the identity of remote HTTPS servers with  these  cer‐\ntificates.\n\nTo disable SSL verification temporarily, specify --insecure from command line.\n\nYou can use OpenSSL's CA certificate file if your platform has one. On most Linux sys‐\ntems this will be /etc/ssl/certs/ca-certificates.crt. Otherwise you will have to  gen‐\nerate this file manually. The form must be as follows:\n\n-----BEGIN CERTIFICATE-----\n... (certificate in base64 PEM encoding) ...\n-----END CERTIFICATE-----\n-----BEGIN CERTIFICATE-----\n... (certificate in base64 PEM encoding) ...\n-----END CERTIFICATE-----\n\n#### cache\n\nWhether to support caching in hgweb. (default: True)\n\n#### certificate\n\nCertificate to use when running hg serve.\n\n#### collapse\n\nWith  descend  enabled,  repositories  in  subdirectories  are shown at a single level\nalongside repositories in the current path. With collapse also  enabled,  repositories\nresiding  at  a deeper level than the current path are grouped behind navigable direc‐\ntory entries that lead to the locations of these repositories. In effect, this setting\ncollapses  each  collection  of repositories found within a subdirectory into a single\nentry for that subdirectory. (default: False)\n\n#### comparisoncontext\n\nNumber of lines of context to show in side-by-side file comparison. If negative or the\nvalue full, whole files are shown. (default: 5)\n\nThis  setting  can be overridden by a context request parameter to the comparison com‐\nmand, taking the same values.\n\n#### contact\n\nName or email address of the person in charge of the repository.   (default:  ui.user‐\nname or $EMAIL or \"unknown\" if unset or empty)\n\n#### csp\n\nSend a Content-Security-Policy HTTP header with this value.\n\nThe  value  may  contain  a  special  string %nonce%, which will be replaced by a ran‐\ndomly-generated one-time use value. If the value contains %nonce%, web.cache  will  be\ndisabled,  as  caching  undermines the one-time property of the nonce. This nonce will\nalso be inserted into <script> elements containing inline JavaScript.\n\nNote: lots of HTML content sent by the server is derived from repository data.  Please\nconsider the potential for malicious repository data to \"inject\" itself into generated\nHTML content as part of your security threat model.\n\ndenypush\n\nWhether to deny pushing to the repository. If empty or not set, push is not denied. If\nthe  special  value  *,  all  remote users are denied push. Otherwise, unauthenticated\nusers are all denied, and any authenticated user name present in this list is also de‐\nnied. The contents of the denypush list are examined before the allow-push list.\n\ndenyread\n\nWhether  to  deny  reading/viewing of the repository. If this list is not empty, unau‐\nthenticated users are all denied, and any authenticated user name present in this list\nis  also  denied  access  to the repository. If set to the special value *, all remote\nusers are denied access (rarely needed ;). If denyread is empty or not set,  the  de‐\ntermination of repository access depends on the presence and content of the allowread\nlist (see description). If both denyread and allowread are empty or  not  set,  then\naccess is permitted to all users by default. If the repository is being served via hg‐\nwebdir, denied users will not be able to see it in the list of repositories. The  con‐\ntents  of  the denyread list have priority over (are examined before) the contents of\nthe allowread list.\n\n#### descend\n\nhgwebdir indexes will not descend into subdirectories. Only repositories  directly  in\nthe  current path will be shown (other repositories are still available from the index\ncorresponding to their containing path).\n\n#### description\n\nTextual description of the repository's purpose or contents.  (default: \"unknown\")\n\n#### encoding\n\nCharacter encoding name. (default: the current locale charset) Example: \"UTF-8\".\n\n#### errorlog\n\nWhere to output the error log. (default: stderr)\n\n#### guessmime\n\nControl MIME types for raw download of file content.  Set to True to let  hgweb  guess\nthe  content type from the file extension. This will serve HTML files as text/html and\nmight allow cross-site scripting attacks when  serving  untrusted  repositories.  (de‐\nfault: False)\n\n#### hidden\n\nWhether to hide the repository in the hgwebdir index.  (default: False)\n\n#### ipv6\n\nWhether to use IPv6. (default: False)\n\n#### labels\n\nList of string labels associated with the repository.\n\nLabels are exposed as a template keyword and can be used to customize output. e.g. the\nindex template can group or filter repositories by labels and the summary template can\ndisplay additional content if a specific label is present.\n\n#### logoimg\n\nFile  name  of the logo image that some templates display on each page.  The file name\nis relative to staticurl. That is, the full path to the logo image  is  \"staticurl/lo‐\ngoimg\".  If unset, hglogo.png will be used.\n\n#### logourl\n\nBase URL to use for logos. If unset, https://mercurial-scm.org/ will be used.\n\n#### maxchanges\n\nMaximum number of changes to list on the changelog. (default: 10)\n\n#### maxfiles\n\nMaximum number of files to list per changeset. (default: 10)\n\n#### maxshortchanges\n\nMaximum  number  of changes to list on the shortlog, graph or filelog pages. (default:\n60)\n\n#### name\n\nRepository name to use in the web interface.  (default: current working directory)\n\n#### port\n\nPort to listen on. (default: 8000)\n\n#### prefix\n\nPrefix path to serve from. (default: '' (server root))\n\npushssl\n\nWhether to require that inbound pushes be transported over  SSL  to  prevent  password\nsniffing. (default: True)\n\n#### refreshinterval\n\nHow frequently directory listings re-scan the filesystem for new repositories, in sec‐\nonds. This is relevant when wildcards are used to define paths. Depending on how  much\nfilesystem traversal is required, refreshing may negatively impact performance.\n\nValues less than or equal to 0 always refresh.  (default: 20)\n\n#### server-header\n\nValue for HTTP Server response header.\n\n#### static\n\nDirectory where static files are served from.\n\n#### staticurl\n\nBase URL to use for static files. If unset, static files (e.g. the hgicon.png favicon)\nwill be served by the CGI script itself. Use this setting to serve them directly  with\nthe HTTP server.  Example: http://hgserver/static/.\n\n#### stripes\n\nHow  many  lines  a \"zebra stripe\" should span in multi-line output.  Set to 0 to dis‐\nable. (default: 1)\n\n#### style\n\nWhich template map style to use. The available options are the names of subdirectories\nin the HTML templates path. (default: paper) Example: monoblue.\n\n#### templates\n\nWhere  to  find  the HTML templates. The default path to the HTML templates can be ob‐\ntained from hg debuginstall.\n\n#### websub\n\nWeb substitution filter definition. You can use this section to define a set of  regular  ex‐\npression substitution patterns which let you automatically modify the hgweb server output.\n\nThe  default  hgweb templates only apply these substitution patterns on the revision descrip‐\ntion fields. You can apply them anywhere you want when  you  create  your  own  templates  by\nadding calls to the \"websub\" filter (usually after calling the \"escape\" filter).\n\nThis can be used, for example, to convert issue references to links to your issue tracker, or\nto convert \"markdown-like\" syntax into HTML (see the examples below).\n\nEach entry in this section names a substitution filter.  The value of each entry defines  the\nsubstitution expression itself.  The websub expressions follow the old interhg extension syn‐\ntax, which in turn imitates the Unix sed replacement syntax:\n\npatternname = s/SEARCHREGEX/REPLACEEXPRESSION/[i]\n\nYou can use any separator other than \"/\". The final \"i\" is optional and  indicates  that  the\nsearch must be case insensitive.\n\nExamples:\n\n[websub]\nissues = s|issue(\\d+)|<a href=\"http://bts.example.org/issue\\1\">issue\\1</a>|i\nitalic = s/\\b(\\S+)\\b/<i>\\1<\\/i>/\nbold = s/\\*\\b(\\S+)\\b\\*/<b>\\1<\\/b>/\n\n#### worker\n\nParallel  master/worker configuration. We currently perform working directory updates in par‐\nallel on Unix-like systems, which greatly helps performance.\n\n#### enabled\n\nWhether to enable workers code to be used.  (default: true)\n\n#### numcpus\n\nNumber of CPUs to use for parallel operations. A zero or negative value is treated  as\nuse  the  default.   (default:  4  or  the  number of CPUs on the system, whichever is\nlarger)\n\n#### backgroundclose\n\nWhether to enable closing file handles on background  threads  during  certain  opera‐\ntions.  Some  platforms  aren't  very efficient at closing file handles that have been\nwritten or appended to. By performing file closing on background threads,  file  write\nrate can increase substantially.  (default: true on Windows, false elsewhere)\n\n#### backgroundcloseminfilecount\n\nMinimum  number  of files required to trigger background file closing.  Operations not\nwriting this many files won't start background close threads.  (default: 2048)\n\n#### backgroundclosemaxqueue\n\nThe maximum number of opened file handles waiting to be closed in the background. This\noption only has an effect if backgroundclose is enabled.  (default: 384)\n\n#### backgroundclosethreadcount\n\nNumber  of threads to process background file closes. Only relevant if backgroundclose\nis enabled.  (default: 4)\n\n### AUTHOR\n\nBryan O'Sullivan <bos@serpentine.com>\n\nOrganization: Mercurial\n\n\n\n\nHGRC(5)\n\n### SEE ALSO\n\nhg(1), hgignore(5)\n\n### COPYING\n\nThis manual page is copyright 2005 Bryan O'Sullivan.  Mercurial is copyright 2005-2022 Olivia\nMackall.   Free use of this software is granted under the terms of the GNU General Public Li‐\ncense version 2 or any later version.\n\n"
        }
    ],
    "structuredContent": {
        "command": "hgrc",
        "section": "5",
        "mode": "man",
        "summary": "hgrc - configuration files for Mercurial",
        "synopsis": null,
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "hg",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/hg/1/json"
            },
            {
                "name": "hgignore",
                "section": "5",
                "url": "https://www.chedong.com/phpMan.php/man/hgignore/5/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "TROUBLESHOOTING",
                "lines": 6,
                "subsections": []
            },
            {
                "name": "STRUCTURE",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "FILES",
                "lines": 123,
                "subsections": []
            },
            {
                "name": "SYNTAX",
                "lines": 73,
                "subsections": []
            },
            {
                "name": "SECTIONS",
                "lines": 3,
                "subsections": [
                    {
                        "name": "alias",
                        "lines": 50
                    },
                    {
                        "name": "annotate",
                        "lines": 3
                    },
                    {
                        "name": "ignorews",
                        "lines": 2
                    },
                    {
                        "name": "ignorewseol",
                        "lines": 2
                    },
                    {
                        "name": "ignorewsamount",
                        "lines": 2
                    },
                    {
                        "name": "ignoreblanklines",
                        "lines": 2
                    },
                    {
                        "name": "auth",
                        "lines": 6
                    },
                    {
                        "name": "cookiefile",
                        "lines": 32
                    },
                    {
                        "name": "prefix",
                        "lines": 6
                    },
                    {
                        "name": "username",
                        "lines": 6
                    },
                    {
                        "name": "password",
                        "lines": 3
                    },
                    {
                        "name": "key",
                        "lines": 3
                    },
                    {
                        "name": "cert",
                        "lines": 3
                    },
                    {
                        "name": "schemes",
                        "lines": 8
                    },
                    {
                        "name": "cmdserver",
                        "lines": 2
                    },
                    {
                        "name": "message-encodings",
                        "lines": 4
                    },
                    {
                        "name": "shutdown-on-interrupt",
                        "lines": 4
                    },
                    {
                        "name": "color",
                        "lines": 3
                    },
                    {
                        "name": "mode",
                        "lines": 4
                    },
                    {
                        "name": "pagermode",
                        "lines": 11
                    },
                    {
                        "name": "commands",
                        "lines": 1
                    },
                    {
                        "name": "commit.post-status",
                        "lines": 3
                    },
                    {
                        "name": "merge.require-rev",
                        "lines": 4
                    },
                    {
                        "name": "push.require-revs",
                        "lines": 5
                    },
                    {
                        "name": "resolve.confirm",
                        "lines": 2
                    },
                    {
                        "name": "resolve.explicit-re-merge",
                        "lines": 3
                    },
                    {
                        "name": "resolve.mark-check",
                        "lines": 7
                    },
                    {
                        "name": "status.relative",
                        "lines": 2
                    },
                    {
                        "name": "status.terse",
                        "lines": 2
                    },
                    {
                        "name": "update.check",
                        "lines": 15
                    },
                    {
                        "name": "update.requiredest",
                        "lines": 3
                    },
                    {
                        "name": "committemplate",
                        "lines": 1
                    },
                    {
                        "name": "changeset",
                        "lines": 6
                    },
                    {
                        "name": "extramsg",
                        "lines": 20
                    },
                    {
                        "name": "diff()",
                        "lines": 125
                    },
                    {
                        "name": "decode/encode",
                        "lines": 38
                    },
                    {
                        "name": "defaults",
                        "lines": 15
                    },
                    {
                        "name": "diff",
                        "lines": 3
                    },
                    {
                        "name": "git",
                        "lines": 2
                    },
                    {
                        "name": "nobinary",
                        "lines": 2
                    },
                    {
                        "name": "nodates",
                        "lines": 2
                    },
                    {
                        "name": "noprefix",
                        "lines": 2
                    },
                    {
                        "name": "showfunc",
                        "lines": 2
                    },
                    {
                        "name": "ignorews",
                        "lines": 2
                    },
                    {
                        "name": "ignorewsamount",
                        "lines": 2
                    },
                    {
                        "name": "ignoreblanklines",
                        "lines": 2
                    },
                    {
                        "name": "unified",
                        "lines": 2
                    },
                    {
                        "name": "word-diff",
                        "lines": 2
                    },
                    {
                        "name": "email",
                        "lines": 2
                    },
                    {
                        "name": "from",
                        "lines": 11
                    },
                    {
                        "name": "bcc",
                        "lines": 2
                    },
                    {
                        "name": "method",
                        "lines": 6
                    },
                    {
                        "name": "charsets",
                        "lines": 27
                    },
                    {
                        "name": "extensions",
                        "lines": 36
                    },
                    {
                        "name": "format",
                        "lines": 8
                    },
                    {
                        "name": "usegeneraldelta",
                        "lines": 9
                    },
                    {
                        "name": "dotencode",
                        "lines": 8
                    },
                    {
                        "name": "usefncache",
                        "lines": 8
                    },
                    {
                        "name": "use-dirstate-v2",
                        "lines": 26
                    },
                    {
                        "name": "use-dirstate-tracked-hint",
                        "lines": 28
                    },
                    {
                        "name": "use-persistent-nodemap",
                        "lines": 27
                    },
                    {
                        "name": "use-share-safe",
                        "lines": 26
                    },
                    {
                        "name": "usestore",
                        "lines": 8
                    },
                    {
                        "name": "sparse-revlog",
                        "lines": 9
                    },
                    {
                        "name": "revlog-compression",
                        "lines": 9
                    },
                    {
                        "name": "bookmarks-in-store",
                        "lines": 7
                    },
                    {
                        "name": "graph",
                        "lines": 17
                    },
                    {
                        "name": "width",
                        "lines": 2
                    },
                    {
                        "name": "color",
                        "lines": 2
                    },
                    {
                        "name": "hooks",
                        "lines": 45
                    },
                    {
                        "name": "changegroup",
                        "lines": 4
                    },
                    {
                        "name": "commit",
                        "lines": 4
                    },
                    {
                        "name": "incoming",
                        "lines": 4
                    },
                    {
                        "name": "outgoing",
                        "lines": 4
                    },
                    {
                        "name": "post-<command>",
                        "lines": 7
                    },
                    {
                        "name": "fail-<command>",
                        "lines": 6
                    },
                    {
                        "name": "pre-<command>",
                        "lines": 7
                    },
                    {
                        "name": "prechangegroup",
                        "lines": 4
                    },
                    {
                        "name": "precommit",
                        "lines": 4
                    },
                    {
                        "name": "prelistkeys",
                        "lines": 3
                    },
                    {
                        "name": "preoutgoing",
                        "lines": 8
                    },
                    {
                        "name": "prepushkey",
                        "lines": 4
                    },
                    {
                        "name": "pretag",
                        "lines": 5
                    },
                    {
                        "name": "pretxnopen",
                        "lines": 4
                    },
                    {
                        "name": "pretxnclose",
                        "lines": 12
                    },
                    {
                        "name": "pretxnclose-bookmark",
                        "lines": 10
                    },
                    {
                        "name": "pretxnclose-phase",
                        "lines": 11
                    },
                    {
                        "name": "txnclose",
                        "lines": 4
                    },
                    {
                        "name": "txnclose-bookmark",
                        "lines": 4
                    },
                    {
                        "name": "txnclose-phase",
                        "lines": 4
                    },
                    {
                        "name": "txnabort",
                        "lines": 3
                    },
                    {
                        "name": "pretxnchangegroup",
                        "lines": 8
                    },
                    {
                        "name": "pretxncommit",
                        "lines": 6
                    },
                    {
                        "name": "preupdate",
                        "lines": 4
                    },
                    {
                        "name": "listkeys",
                        "lines": 3
                    },
                    {
                        "name": "pushkey",
                        "lines": 4
                    },
                    {
                        "name": "tag",
                        "lines": 4
                    },
                    {
                        "name": "update",
                        "lines": 26
                    },
                    {
                        "name": "hostfingerprints",
                        "lines": 20
                    },
                    {
                        "name": "hostsecurity",
                        "lines": 4
                    },
                    {
                        "name": "ciphers",
                        "lines": 10
                    },
                    {
                        "name": "minimumprotocol",
                        "lines": 18
                    },
                    {
                        "name": "ciphers",
                        "lines": 3
                    },
                    {
                        "name": "fingerprints",
                        "lines": 17
                    },
                    {
                        "name": "minimumprotocol",
                        "lines": 3
                    },
                    {
                        "name": "verifycertsfile",
                        "lines": 39
                    },
                    {
                        "name": "host",
                        "lines": 6
                    },
                    {
                        "name": "passwd",
                        "lines": 2
                    },
                    {
                        "name": "user",
                        "lines": 2
                    },
                    {
                        "name": "always",
                        "lines": 3
                    },
                    {
                        "name": "http",
                        "lines": 2
                    },
                    {
                        "name": "timeout",
                        "lines": 2
                    },
                    {
                        "name": "merge",
                        "lines": 2
                    },
                    {
                        "name": "checkignored",
                        "lines": 6
                    },
                    {
                        "name": "checkunknown",
                        "lines": 4
                    },
                    {
                        "name": "on-failure",
                        "lines": 8
                    },
                    {
                        "name": "strict-capability-check",
                        "lines": 3
                    },
                    {
                        "name": "merge-patterns",
                        "lines": 10
                    },
                    {
                        "name": "merge-tools",
                        "lines": 27
                    },
                    {
                        "name": "priority",
                        "lines": 2
                    },
                    {
                        "name": "executable",
                        "lines": 6
                    },
                    {
                        "name": "args",
                        "lines": 14
                    },
                    {
                        "name": "premerge",
                        "lines": 8
                    },
                    {
                        "name": "binary",
                        "lines": 3
                    },
                    {
                        "name": "symlink",
                        "lines": 2
                    },
                    {
                        "name": "check",
                        "lines": 14
                    },
                    {
                        "name": "fixeol",
                        "lines": 2
                    },
                    {
                        "name": "gui",
                        "lines": 2
                    },
                    {
                        "name": "mergemarkers",
                        "lines": 6
                    },
                    {
                        "name": "mergemarkertemplate",
                        "lines": 5
                    },
                    {
                        "name": "regkey",
                        "lines": 4
                    },
                    {
                        "name": "regkeyalt",
                        "lines": 5
                    },
                    {
                        "name": "regname",
                        "lines": 3
                    },
                    {
                        "name": "regappend",
                        "lines": 3
                    },
                    {
                        "name": "pager",
                        "lines": 3
                    },
                    {
                        "name": "pager",
                        "lines": 9
                    },
                    {
                        "name": "ignore",
                        "lines": 5
                    },
                    {
                        "name": "patch",
                        "lines": 3
                    },
                    {
                        "name": "eol",
                        "lines": 7
                    },
                    {
                        "name": "fuzz",
                        "lines": 3
                    },
                    {
                        "name": "paths",
                        "lines": 25
                    },
                    {
                        "name": "multi-urls",
                        "lines": 4
                    },
                    {
                        "name": "pushurl",
                        "lines": 3
                    },
                    {
                        "name": "pushrev",
                        "lines": 9
                    },
                    {
                        "name": "bookmarks.mode",
                        "lines": 11
                    },
                    {
                        "name": "default",
                        "lines": 5
                    },
                    {
                        "name": "default-push",
                        "lines": 3
                    },
                    {
                        "name": "phases",
                        "lines": 3
                    },
                    {
                        "name": "publish",
                        "lines": 4
                    },
                    {
                        "name": "new-commit",
                        "lines": 2
                    },
                    {
                        "name": "checksubrepos",
                        "lines": 8
                    },
                    {
                        "name": "profiling",
                        "lines": 7
                    },
                    {
                        "name": "enabled",
                        "lines": 4
                    },
                    {
                        "name": "type",
                        "lines": 14
                    },
                    {
                        "name": "format",
                        "lines": 12
                    },
                    {
                        "name": "statformat",
                        "lines": 19
                    },
                    {
                        "name": "freq",
                        "lines": 2
                    },
                    {
                        "name": "output",
                        "lines": 3
                    },
                    {
                        "name": "sort",
                        "lines": 3
                    },
                    {
                        "name": "time-track",
                        "lines": 3
                    },
                    {
                        "name": "limit",
                        "lines": 2
                    },
                    {
                        "name": "nested",
                        "lines": 4
                    },
                    {
                        "name": "showmin",
                        "lines": 10
                    },
                    {
                        "name": "showmax",
                        "lines": 9
                    },
                    {
                        "name": "showtime",
                        "lines": 3
                    },
                    {
                        "name": "progress",
                        "lines": 3
                    },
                    {
                        "name": "debug",
                        "lines": 2
                    },
                    {
                        "name": "delay",
                        "lines": 2
                    },
                    {
                        "name": "changedelay",
                        "lines": 3
                    },
                    {
                        "name": "estimateinterval",
                        "lines": 3
                    },
                    {
                        "name": "refresh",
                        "lines": 2
                    },
                    {
                        "name": "format",
                        "lines": 9
                    },
                    {
                        "name": "width",
                        "lines": 3
                    },
                    {
                        "name": "clear-complete",
                        "lines": 2
                    },
                    {
                        "name": "disable",
                        "lines": 2
                    },
                    {
                        "name": "assume-tty",
                        "lines": 2
                    },
                    {
                        "name": "rebase",
                        "lines": 1
                    },
                    {
                        "name": "evolution.allowdivergence",
                        "lines": 3
                    },
                    {
                        "name": "revsetalias",
                        "lines": 2
                    },
                    {
                        "name": "rewrite",
                        "lines": 1
                    },
                    {
                        "name": "backup-bundle",
                        "lines": 2
                    },
                    {
                        "name": "update-timestamp",
                        "lines": 3
                    },
                    {
                        "name": "empty-successor",
                        "lines": 7
                    },
                    {
                        "name": "share",
                        "lines": 1
                    },
                    {
                        "name": "safe-mismatch.source-safe",
                        "lines": 12
                    },
                    {
                        "name": "safe-mismatch.source-safe.warn",
                        "lines": 3
                    },
                    {
                        "name": "safe-mismatch.source-not-safe",
                        "lines": 12
                    },
                    {
                        "name": "safe-mismatch.source-not-safe.warn",
                        "lines": 3
                    },
                    {
                        "name": "storage",
                        "lines": 3
                    },
                    {
                        "name": "revlog.issue6528.fix-incoming",
                        "lines": 12
                    },
                    {
                        "name": "revlog.optimize-delta-parent-choice",
                        "lines": 7
                    },
                    {
                        "name": "revlog.persistent-nodemap.mmap",
                        "lines": 8
                    },
                    {
                        "name": "revlog.persistent-nodemap.slow-path",
                        "lines": 10
                    },
                    {
                        "name": "revlog.reuse-external-delta-parent",
                        "lines": 19
                    },
                    {
                        "name": "revlog.reuse-external-delta",
                        "lines": 14
                    },
                    {
                        "name": "revlog.zlib.level",
                        "lines": 3
                    },
                    {
                        "name": "revlog.zstd.level",
                        "lines": 3
                    },
                    {
                        "name": "server",
                        "lines": 2
                    },
                    {
                        "name": "bookmarks-pushkey-compat",
                        "lines": 6
                    },
                    {
                        "name": "compressionengines",
                        "lines": 12
                    },
                    {
                        "name": "uncompressed",
                        "lines": 8
                    },
                    {
                        "name": "uncompressedallowsecret",
                        "lines": 3
                    },
                    {
                        "name": "preferuncompressed",
                        "lines": 3
                    },
                    {
                        "name": "disablefullbundle",
                        "lines": 4
                    },
                    {
                        "name": "streamunbundle",
                        "lines": 3
                    },
                    {
                        "name": "pullbundle",
                        "lines": 6
                    },
                    {
                        "name": "concurrent-push-mode",
                        "lines": 11
                    },
                    {
                        "name": "validate",
                        "lines": 3
                    },
                    {
                        "name": "maxhttpheaderlen",
                        "lines": 3
                    },
                    {
                        "name": "bundle1",
                        "lines": 3
                    },
                    {
                        "name": "bundle1gd",
                        "lines": 3
                    },
                    {
                        "name": "bundle1.push",
                        "lines": 3
                    },
                    {
                        "name": "bundle1gd.push",
                        "lines": 3
                    },
                    {
                        "name": "bundle1.pull",
                        "lines": 3
                    },
                    {
                        "name": "bundle1gd.pull",
                        "lines": 7
                    },
                    {
                        "name": "bundle2.stream",
                        "lines": 3
                    },
                    {
                        "name": "zliblevel",
                        "lines": 13
                    },
                    {
                        "name": "zstdlevel",
                        "lines": 11
                    },
                    {
                        "name": "view",
                        "lines": 5
                    },
                    {
                        "name": "smtp",
                        "lines": 2
                    },
                    {
                        "name": "host",
                        "lines": 2
                    },
                    {
                        "name": "port",
                        "lines": 3
                    },
                    {
                        "name": "tls",
                        "lines": 3
                    },
                    {
                        "name": "username",
                        "lines": 2
                    },
                    {
                        "name": "password",
                        "lines": 8
                    },
                    {
                        "name": "subpaths",
                        "lines": 17
                    },
                    {
                        "name": "subrepos",
                        "lines": 8
                    },
                    {
                        "name": "allowed",
                        "lines": 5
                    },
                    {
                        "name": "hg:allowed",
                        "lines": 3
                    },
                    {
                        "name": "git:allowed",
                        "lines": 5
                    },
                    {
                        "name": "svn:allowed",
                        "lines": 5
                    },
                    {
                        "name": "templatealias",
                        "lines": 2
                    },
                    {
                        "name": "templates",
                        "lines": 2
                    },
                    {
                        "name": "trusted",
                        "lines": 11
                    },
                    {
                        "name": "users",
                        "lines": 2
                    },
                    {
                        "name": "groups",
                        "lines": 5
                    },
                    {
                        "name": "archivemeta",
                        "lines": 4
                    },
                    {
                        "name": "askusername",
                        "lines": 4
                    },
                    {
                        "name": "clonebundles",
                        "lines": 9
                    },
                    {
                        "name": "clonebundlefallback",
                        "lines": 12
                    },
                    {
                        "name": "clonebundleprefers",
                        "lines": 21
                    },
                    {
                        "name": "color",
                        "lines": 4
                    },
                    {
                        "name": "commitsubrepos",
                        "lines": 4
                    },
                    {
                        "name": "debug",
                        "lines": 2
                    },
                    {
                        "name": "editor",
                        "lines": 2
                    },
                    {
                        "name": "fallbackencoding",
                        "lines": 3
                    },
                    {
                        "name": "graphnodetemplate",
                        "lines": 2
                    },
                    {
                        "name": "ignore",
                        "lines": 6
                    },
                    {
                        "name": "interactive",
                        "lines": 2
                    },
                    {
                        "name": "interface",
                        "lines": 3
                    },
                    {
                        "name": "interface.chunkselector",
                        "lines": 3
                    },
                    {
                        "name": "large-file-limit",
                        "lines": 3
                    },
                    {
                        "name": "logtemplate",
                        "lines": 2
                    },
                    {
                        "name": "merge",
                        "lines": 4
                    },
                    {
                        "name": "mergemarkers",
                        "lines": 4
                    },
                    {
                        "name": "mergemarkertemplate",
                        "lines": 2
                    },
                    {
                        "name": "message-output",
                        "lines": 14
                    },
                    {
                        "name": "origbackuppath",
                        "lines": 4
                    },
                    {
                        "name": "paginate",
                        "lines": 3
                    },
                    {
                        "name": "patch",
                        "lines": 10
                    },
                    {
                        "name": "portablefilenames",
                        "lines": 27
                    },
                    {
                        "name": "pre-merge-tool-output-template",
                        "lines": 2
                    },
                    {
                        "name": "quiet",
                        "lines": 2
                    },
                    {
                        "name": "relative-paths",
                        "lines": 2
                    },
                    {
                        "name": "remotecmd",
                        "lines": 7
                    },
                    {
                        "name": "slash",
                        "lines": 6
                    },
                    {
                        "name": "statuscopies",
                        "lines": 2
                    },
                    {
                        "name": "ssh",
                        "lines": 2
                    },
                    {
                        "name": "ssherrorhint",
                        "lines": 3
                    },
                    {
                        "name": "strict",
                        "lines": 3
                    },
                    {
                        "name": "style",
                        "lines": 2
                    },
                    {
                        "name": "supportcontact",
                        "lines": 4
                    },
                    {
                        "name": "textwidth",
                        "lines": 5
                    },
                    {
                        "name": "timeout",
                        "lines": 3
                    },
                    {
                        "name": "timeout.warn",
                        "lines": 3
                    },
                    {
                        "name": "traceback",
                        "lines": 4
                    },
                    {
                        "name": "tweakdefaults",
                        "lines": 32
                    },
                    {
                        "name": "username",
                        "lines": 8
                    },
                    {
                        "name": "verbose",
                        "lines": 2
                    },
                    {
                        "name": "command-templates",
                        "lines": 2
                    },
                    {
                        "name": "graphnode",
                        "lines": 3
                    },
                    {
                        "name": "log",
                        "lines": 2
                    },
                    {
                        "name": "mergemarker",
                        "lines": 15
                    },
                    {
                        "name": "oneline-summary",
                        "lines": 7
                    },
                    {
                        "name": "pre-merge-tool-output",
                        "lines": 7
                    },
                    {
                        "name": "web",
                        "lines": 19
                    },
                    {
                        "name": "accesslog",
                        "lines": 2
                    },
                    {
                        "name": "address",
                        "lines": 2
                    },
                    {
                        "name": "allow-archive",
                        "lines": 2
                    },
                    {
                        "name": "allowbz2",
                        "lines": 3
                    },
                    {
                        "name": "allowgz",
                        "lines": 3
                    },
                    {
                        "name": "allow-pull",
                        "lines": 2
                    },
                    {
                        "name": "allow-push",
                        "lines": 16
                    },
                    {
                        "name": "allowzip",
                        "lines": 3
                    },
                    {
                        "name": "archivesubrepos",
                        "lines": 2
                    },
                    {
                        "name": "baseurl",
                        "lines": 3
                    },
                    {
                        "name": "cacerts",
                        "lines": 18
                    },
                    {
                        "name": "cache",
                        "lines": 2
                    },
                    {
                        "name": "certificate",
                        "lines": 2
                    },
                    {
                        "name": "collapse",
                        "lines": 7
                    },
                    {
                        "name": "comparisoncontext",
                        "lines": 6
                    },
                    {
                        "name": "contact",
                        "lines": 3
                    },
                    {
                        "name": "csp",
                        "lines": 31
                    },
                    {
                        "name": "descend",
                        "lines": 4
                    },
                    {
                        "name": "description",
                        "lines": 2
                    },
                    {
                        "name": "encoding",
                        "lines": 2
                    },
                    {
                        "name": "errorlog",
                        "lines": 2
                    },
                    {
                        "name": "guessmime",
                        "lines": 5
                    },
                    {
                        "name": "hidden",
                        "lines": 2
                    },
                    {
                        "name": "ipv6",
                        "lines": 2
                    },
                    {
                        "name": "labels",
                        "lines": 6
                    },
                    {
                        "name": "logoimg",
                        "lines": 4
                    },
                    {
                        "name": "logourl",
                        "lines": 2
                    },
                    {
                        "name": "maxchanges",
                        "lines": 2
                    },
                    {
                        "name": "maxfiles",
                        "lines": 2
                    },
                    {
                        "name": "maxshortchanges",
                        "lines": 3
                    },
                    {
                        "name": "name",
                        "lines": 2
                    },
                    {
                        "name": "port",
                        "lines": 2
                    },
                    {
                        "name": "prefix",
                        "lines": 7
                    },
                    {
                        "name": "refreshinterval",
                        "lines": 6
                    },
                    {
                        "name": "server-header",
                        "lines": 2
                    },
                    {
                        "name": "static",
                        "lines": 2
                    },
                    {
                        "name": "staticurl",
                        "lines": 4
                    },
                    {
                        "name": "stripes",
                        "lines": 3
                    },
                    {
                        "name": "style",
                        "lines": 3
                    },
                    {
                        "name": "templates",
                        "lines": 3
                    },
                    {
                        "name": "websub",
                        "lines": 26
                    },
                    {
                        "name": "worker",
                        "lines": 3
                    },
                    {
                        "name": "enabled",
                        "lines": 2
                    },
                    {
                        "name": "numcpus",
                        "lines": 4
                    },
                    {
                        "name": "backgroundclose",
                        "lines": 5
                    },
                    {
                        "name": "backgroundcloseminfilecount",
                        "lines": 3
                    },
                    {
                        "name": "backgroundclosemaxqueue",
                        "lines": 3
                    },
                    {
                        "name": "backgroundclosethreadcount",
                        "lines": 3
                    }
                ]
            },
            {
                "name": "AUTHOR",
                "lines": 8,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "COPYING",
                "lines": 4,
                "subsections": []
            }
        ]
    }
}