##// END OF EJS Templates
help/config.txt: reorder [web] options
Patrick Mezard -
r17316:8cf995a6 stable
parent child Browse files
Show More
@@ -1269,13 +1269,6 b' The full set of options is:'
1269 1269 be present in this list. The contents of the allow_push list are
1270 1270 examined after the deny_push list.
1271 1271
1272 ``guessmime``
1273 Control MIME types for raw download of file content.
1274 Set to True to let hgweb guess the content type from the file
1275 extension. This will serve HTML files as ``text/html`` and might
1276 allow cross-site scripting attacks when serving untrusted
1277 repositories. Default is False.
1278
1279 1272 ``allow_read``
1280 1273 If the user has not already been denied repository access due to
1281 1274 the contents of deny_read, this list determines whether to grant
@@ -1335,6 +1328,12 b' The full set of options is:'
1335 1328 collapses each collection of repositories found within a subdirectory
1336 1329 into a single entry for that subdirectory. Default is False.
1337 1330
1331 ``comparisoncontext``
1332 Number of lines of context to show in side-by-side file comparison. If
1333 negative or the value ``full``, whole files are shown. Default is 5.
1334 This setting can be overridden by a ``context`` request parameter to the
1335 ``comparison`` command, taking the same values.
1336
1338 1337 ``contact``
1339 1338 Name or email address of the person in charge of the repository.
1340 1339 Defaults to ui.username or ``$EMAIL`` or "unknown" if unset or empty.
@@ -1377,11 +1376,12 b' The full set of options is:'
1377 1376 ``errorlog``
1378 1377 Where to output the error log. Default is stderr.
1379 1378
1380 ``comparisoncontext``
1381 Number of lines of context to show in side-by-side file comparison. If
1382 negative or the value ``full``, whole files are shown. Default is 5.
1383 This setting can be overridden by a ``context`` request parameter to the
1384 ``comparison`` command, taking the same values.
1379 ``guessmime``
1380 Control MIME types for raw download of file content.
1381 Set to True to let hgweb guess the content type from the file
1382 extension. This will serve HTML files as ``text/html`` and might
1383 allow cross-site scripting attacks when serving untrusted
1384 repositories. Default is False.
1385 1385
1386 1386 ``hidden``
1387 1387 Whether to hide the repository in the hgwebdir index.
@@ -1400,16 +1400,16 b' The full set of options is:'
1400 1400 Base URL to use for logos. If unset, ``http://mercurial.selenic.com/``
1401 1401 will be used.
1402 1402
1403 ``name``
1404 Repository name to use in the web interface. Default is current
1405 working directory.
1406
1407 1403 ``maxchanges``
1408 1404 Maximum number of changes to list on the changelog. Default is 10.
1409 1405
1410 1406 ``maxfiles``
1411 1407 Maximum number of files to list per changeset. Default is 10.
1412 1408
1409 ``name``
1410 Repository name to use in the web interface. Default is current
1411 working directory.
1412
1413 1413 ``port``
1414 1414 Port to listen on. Default is 8000.
1415 1415
General Comments 0
You need to be logged in to leave comments. Login now