--- a/hgwebdir.cgi Mon Dec 15 12:02:18 2008 -0800
+++ b/hgwebdir.cgi Thu Dec 18 22:32:48 2008 +0100
@@ -32,6 +32,7 @@
# virtual/path2 = /real/path2
# virtual/root = /real/root/*
# / = /real/root2/*
+# virtual/root2 = /real/root2/**
#
# [collections]
# /prefix/to/strip/off = /root/of/tree/full/of/repos
@@ -41,15 +42,18 @@
# * First two lines mount one repository into one virtual path, like
# '/real/path1' into 'virtual/path1'.
#
-# * The third entry tells every mercurial repository found in
-# '/real/root', recursively, should be mounted in 'virtual/root'. This
-# format is preferred over the [collections] one, using absolute paths
-# as configuration keys is not supported on every platform (including
-# Windows).
+# * The third entry mounts every mercurial repository found in '/real/root'
+# in 'virtual/root'. This format is preferred over the [collections] one,
+# since using absolute paths as configuration keys is not support on every
+# platform (especially on Windows).
#
-# * The last entry is a special case mounting all repositories in
+# * The fourth entry is a special case mounting all repositories in
# /'real/root2' in the root of the virtual directory.
#
+# * The fifth entry recursively finds all repositories under the real root,
+# and mounts them using their relative path (to given real root) under the
+# virtual root.
+#
# collections example: say directory tree /foo contains repos /foo/bar,
# /foo/quux/baz. Give this config section:
# [collections]