Mercurial > hg
comparison mercurial/help/config.txt @ 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 | 979b107eaea2 |
children | 0b8272274b56 |
comparison
equal
deleted
inserted
replaced
17315:f320d7ed912f | 17316:8cf995a6dcb0 |
---|---|
1267 push, including unauthenticated users. Otherwise, the remote user | 1267 push, including unauthenticated users. Otherwise, the remote user |
1268 must have been authenticated, and the authenticated user name must | 1268 must have been authenticated, and the authenticated user name must |
1269 be present in this list. The contents of the allow_push list are | 1269 be present in this list. The contents of the allow_push list are |
1270 examined after the deny_push list. | 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 ``allow_read`` | 1272 ``allow_read`` |
1280 If the user has not already been denied repository access due to | 1273 If the user has not already been denied repository access due to |
1281 the contents of deny_read, this list determines whether to grant | 1274 the contents of deny_read, this list determines whether to grant |
1282 repository access to the user. If this list is not empty, and the | 1275 repository access to the user. If this list is not empty, and the |
1283 user is unauthenticated or not present in the list, then access is | 1276 user is unauthenticated or not present in the list, then access is |
1332 ``collapse`` also enabled, repositories residing at a deeper level than | 1325 ``collapse`` also enabled, repositories residing at a deeper level than |
1333 the current path are grouped behind navigable directory entries that | 1326 the current path are grouped behind navigable directory entries that |
1334 lead to the locations of these repositories. In effect, this setting | 1327 lead to the locations of these repositories. In effect, this setting |
1335 collapses each collection of repositories found within a subdirectory | 1328 collapses each collection of repositories found within a subdirectory |
1336 into a single entry for that subdirectory. Default is False. | 1329 into a single entry for that subdirectory. Default is False. |
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. | |
1337 | 1336 |
1338 ``contact`` | 1337 ``contact`` |
1339 Name or email address of the person in charge of the repository. | 1338 Name or email address of the person in charge of the repository. |
1340 Defaults to ui.username or ``$EMAIL`` or "unknown" if unset or empty. | 1339 Defaults to ui.username or ``$EMAIL`` or "unknown" if unset or empty. |
1341 | 1340 |
1375 Example: "UTF-8" | 1374 Example: "UTF-8" |
1376 | 1375 |
1377 ``errorlog`` | 1376 ``errorlog`` |
1378 Where to output the error log. Default is stderr. | 1377 Where to output the error log. Default is stderr. |
1379 | 1378 |
1380 ``comparisoncontext`` | 1379 ``guessmime`` |
1381 Number of lines of context to show in side-by-side file comparison. If | 1380 Control MIME types for raw download of file content. |
1382 negative or the value ``full``, whole files are shown. Default is 5. | 1381 Set to True to let hgweb guess the content type from the file |
1383 This setting can be overridden by a ``context`` request parameter to the | 1382 extension. This will serve HTML files as ``text/html`` and might |
1384 ``comparison`` command, taking the same values. | 1383 allow cross-site scripting attacks when serving untrusted |
1384 repositories. Default is False. | |
1385 | 1385 |
1386 ``hidden`` | 1386 ``hidden`` |
1387 Whether to hide the repository in the hgwebdir index. | 1387 Whether to hide the repository in the hgwebdir index. |
1388 Default is False. | 1388 Default is False. |
1389 | 1389 |
1398 | 1398 |
1399 ``logourl`` | 1399 ``logourl`` |
1400 Base URL to use for logos. If unset, ``http://mercurial.selenic.com/`` | 1400 Base URL to use for logos. If unset, ``http://mercurial.selenic.com/`` |
1401 will be used. | 1401 will be used. |
1402 | 1402 |
1403 ``maxchanges`` | |
1404 Maximum number of changes to list on the changelog. Default is 10. | |
1405 | |
1406 ``maxfiles`` | |
1407 Maximum number of files to list per changeset. Default is 10. | |
1408 | |
1403 ``name`` | 1409 ``name`` |
1404 Repository name to use in the web interface. Default is current | 1410 Repository name to use in the web interface. Default is current |
1405 working directory. | 1411 working directory. |
1406 | |
1407 ``maxchanges`` | |
1408 Maximum number of changes to list on the changelog. Default is 10. | |
1409 | |
1410 ``maxfiles`` | |
1411 Maximum number of files to list per changeset. Default is 10. | |
1412 | 1412 |
1413 ``port`` | 1413 ``port`` |
1414 Port to listen on. Default is 8000. | 1414 Port to listen on. Default is 8000. |
1415 | 1415 |
1416 ``prefix`` | 1416 ``prefix`` |