[PATCH] help: added description for the web.collapse setting

Paul Boddie paul at boddie.org.uk
Wed May 2 18:07:41 CDT 2012


# HG changeset patch
# User Paul Boddie <paul at boddie.org.uk>
# Date 1336000042 -7200
# Node ID 13a465b1465f3c25e5599f2b5bf0f098a5c0554c
# Parent  d7c9976b930e1fdbf8608a65462cd124977c7d53
help: added description for the web.collapse setting

The collapse configuration setting for hgweb was recently
introduced, but the help text was unfortunately omitted from the
patch concerned. This patch provides a suitable help text.

diff -r d7c9976b930e -r 13a465b1465f mercurial/help/config.txt
--- a/mercurial/help/config.txt	Wed May 02 13:20:06 2012 +0200
+++ b/mercurial/help/config.txt	Thu May 03 01:07:22 2012 +0200
@@ -1328,6 +1328,15 @@
 ``cache``
     Whether to support caching in hgweb. Defaults to True.
 
+``collapse``
+    With ``descend`` enabled, repositories in subdirectories are shown at
+    a single level alongside repositories in the current path. With
+    ``collapse`` also enabled, repositories residing at a deeper level than
+    the current path are grouped behind navigable directory entries that
+    lead to the locations of these repositories. In effect, this setting
+    collapses each collection of repositories found within a subdirectory
+    into a single entry for that subdirectory. Default is False.
+
 ``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.


More information about the Mercurial-devel mailing list