doc/hgrc.5.txt
changeset 1171 a425bb927ede
parent 1079 a37974035f1f
child 1258 1945754e466b
equal deleted inserted replaced
1170:85555540a4e2 1171:a425bb927ede
    62 keys, and their possible values.
    62 keys, and their possible values.
    63 
    63 
    64 hooks::
    64 hooks::
    65   Commands that get automatically executed by various actions such as
    65   Commands that get automatically executed by various actions such as
    66   starting or finishing a commit.
    66   starting or finishing a commit.
       
    67   changegroup;;
       
    68     Run after a changegroup has been added via push or pull.
       
    69   commit;;
       
    70     Run after a changeset has been created. Passed the ID of the newly
       
    71     created changeset.
    67   precommit;;
    72   precommit;;
    68     Run before starting a commit.  Exit status 0 allows the commit to
    73     Run before starting a commit.  Exit status 0 allows the commit to
    69     proceed.  Non-zero status will cause the commit to fail.
    74     proceed.  Non-zero status will cause the commit to fail.
    70   commit;;
       
    71     Run after a changeset has been created. Passed the ID of the newly
       
    72     created changeset.
       
    73   changegroup;;
       
    74     Run after a changegroup has been added via push or pull.
       
    75 
    75 
    76 http_proxy::
    76 http_proxy::
    77   Used to access web-based Mercurial repositories through a HTTP
    77   Used to access web-based Mercurial repositories through a HTTP
    78   proxy.
    78   proxy.
    79   host;;
    79   host;;
    80     Host name and (optional) port of the proxy server, for example
    80     Host name and (optional) port of the proxy server, for example
    81     "myproxy:8000".
    81     "myproxy:8000".
    82   user;;
       
    83     Optional.  User name to authenticate with at the proxy server.
       
    84   passwd;;
       
    85     Optional.  Password to authenticate with at the proxy server.
       
    86   no;;
    82   no;;
    87     Optional.  Comma-separated list of host names that should bypass
    83     Optional.  Comma-separated list of host names that should bypass
    88     the proxy.
    84     the proxy.
       
    85   passwd;;
       
    86     Optional.  Password to authenticate with at the proxy server.
       
    87   user;;
       
    88     Optional.  User name to authenticate with at the proxy server.
    89 
    89 
    90 paths::
    90 paths::
    91   Assigns symbolic names to repositories.  The left side is the
    91   Assigns symbolic names to repositories.  The left side is the
    92   symbolic name, and the right gives the directory or URL that is the
    92   symbolic name, and the right gives the directory or URL that is the
    93   location of the repository.
    93   location of the repository.
   103   merge;;
   103   merge;;
   104     The conflict resolution program to use during a manual merge.
   104     The conflict resolution program to use during a manual merge.
   105     Default is "hgmerge".
   105     Default is "hgmerge".
   106   quiet;;
   106   quiet;;
   107     Reduce the amount of output printed.  True or False.  Default is False.
   107     Reduce the amount of output printed.  True or False.  Default is False.
       
   108   remotecmd;;
       
   109     remote command to use for clone/push/pull operations. Default is 'hg'.
       
   110   ssh;;
       
   111     command to use for SSH connections. Default is 'ssh'.
   108   username;;
   112   username;;
   109     The committer of a changeset created when running "commit".
   113     The committer of a changeset created when running "commit".
   110     Typically a person's name and email address, e.g. "Fred Widget
   114     Typically a person's name and email address, e.g. "Fred Widget
   111     <fred@example.com>".  Default is $EMAIL or username@hostname.
   115     <fred@example.com>".  Default is $EMAIL or username@hostname.
   112   verbose;;
   116   verbose;;
   113     Increase the amount of output printed.  True or False.  Default is False.
   117     Increase the amount of output printed.  True or False.  Default is False.
   114   ssh;;
       
   115     command to use for SSH connections. Default is 'ssh'.
       
   116   remotecmd;;
       
   117     remote command to use for clone/push/pull operations. Default is 'hg'.
       
   118 
   118 
   119 
   119 
   120 web::
   120 web::
   121   Web interface configuration.
   121   Web interface configuration.
   122   name;;
   122   accesslog;;
   123     Repository name to use in the web interface. Default is current
   123     Where to output the access log. Default is stdout.
   124     working directory.
       
   125   address;;
   124   address;;
   126     Interface address to bind to. Default is all.
   125     Interface address to bind to. Default is all.
   127   port;;
   126   allowbz2;;
   128     Port to listen on. Default is 8000.
   127     Whether to allow .tar.bz2 downloading of repo revisions. Default is false.
   129   ipv6;;
   128   allowgz;;
   130     Whether to use IPv6. Default is false.
   129     Whether to allow .tar.gz downloading of repo revisions. Default is false.
   131   accesslog;;
       
   132     Where to output the access log. Default is stdout.
       
   133   errorlog;;
       
   134     Where to output the error log. Default is stderr.
       
   135   templates;;
       
   136     Where to find the HTML templates. Default is install path.
       
   137   style;;
       
   138     Which template map style to use.
       
   139   maxchanges;;
       
   140     Maximum number of changes to list on the changelog. Default is 10.
       
   141   maxfiles;;
       
   142     Maximum number of files to list per changeset. Default is 10.
       
   143   allowpull;;
   130   allowpull;;
   144     Whether to allow pulling from the repository. Default is true.
   131     Whether to allow pulling from the repository. Default is true.
   145   allowzip;;
   132   allowzip;;
   146     Whether to allow .zip downloading of repo revisions. Default is false.
   133     Whether to allow .zip downloading of repo revisions. Default is false.
   147     This feature creates temporary files.
   134     This feature creates temporary files.
   148   allowgz;;
   135   description;;
   149     Whether to allow .tar.gz downloading of repo revisions. Default is false.
   136     Textual description of the repository's purpose or contents.
   150   allowbz2;;
   137     Default is "unknown".
   151     Whether to allow .tar.bz2 downloading of repo revisions. Default is false.
   138   errorlog;;
       
   139     Where to output the error log. Default is stderr.
       
   140   ipv6;;
       
   141     Whether to use IPv6. Default is false.
       
   142   name;;
       
   143     Repository name to use in the web interface. Default is current
       
   144     working directory.
       
   145   maxchanges;;
       
   146     Maximum number of changes to list on the changelog. Default is 10.
       
   147   maxfiles;;
       
   148     Maximum number of files to list per changeset. Default is 10.
       
   149   port;;
       
   150     Port to listen on. Default is 8000.
       
   151   style;;
       
   152     Which template map style to use.
       
   153   templates;;
       
   154     Where to find the HTML templates. Default is install path.
   152 
   155 
   153 
   156 
   154 AUTHOR
   157 AUTHOR
   155 ------
   158 ------
   156 Bryan O'Sullivan <bos@serpentine.com>.
   159 Bryan O'Sullivan <bos@serpentine.com>.