Mercurial > hg-stable
changeset 17316:8cf995a6dcb0 stable
help/config.txt: reorder [web] options
author | Patrick Mezard <patrick@mezard.eu> |
---|---|
date | Sun, 29 Jul 2012 19:37:25 +0200 |
parents | f320d7ed912f |
children | 0b8272274b56 |
files | mercurial/help/config.txt |
diffstat | 1 files changed, 16 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/help/config.txt Mon Jul 30 03:27:07 2012 +0900 +++ b/mercurial/help/config.txt Sun Jul 29 19:37:25 2012 +0200 @@ -1269,13 +1269,6 @@ be present in this list. The contents of the allow_push list are examined after the deny_push list. -``guessmime`` - Control MIME types for raw download of file content. - Set to True to let hgweb guess the content type from the file - extension. This will serve HTML files as ``text/html`` and might - allow cross-site scripting attacks when serving untrusted - repositories. Default is False. - ``allow_read`` If the user has not already been denied repository access due to the contents of deny_read, this list determines whether to grant @@ -1335,6 +1328,12 @@ collapses each collection of repositories found within a subdirectory into a single entry for that subdirectory. Default is False. +``comparisoncontext`` + Number of lines of context to show in side-by-side file comparison. If + negative or the value ``full``, whole files are shown. Default is 5. + This setting can be overridden by a ``context`` request parameter to the + ``comparison`` command, taking the same values. + ``contact`` Name or email address of the person in charge of the repository. Defaults to ui.username or ``$EMAIL`` or "unknown" if unset or empty. @@ -1377,11 +1376,12 @@ ``errorlog`` Where to output the error log. Default is stderr. -``comparisoncontext`` - Number of lines of context to show in side-by-side file comparison. If - negative or the value ``full``, whole files are shown. Default is 5. - This setting can be overridden by a ``context`` request parameter to the - ``comparison`` command, taking the same values. +``guessmime`` + Control MIME types for raw download of file content. + Set to True to let hgweb guess the content type from the file + extension. This will serve HTML files as ``text/html`` and might + allow cross-site scripting attacks when serving untrusted + repositories. Default is False. ``hidden`` Whether to hide the repository in the hgwebdir index. @@ -1400,16 +1400,16 @@ Base URL to use for logos. If unset, ``http://mercurial.selenic.com/`` will be used. -``name`` - Repository name to use in the web interface. Default is current - working directory. - ``maxchanges`` Maximum number of changes to list on the changelog. Default is 10. ``maxfiles`` Maximum number of files to list per changeset. Default is 10. +``name`` + Repository name to use in the web interface. Default is current + working directory. + ``port`` Port to listen on. Default is 8000.