mercurial/hgweb/hgwebdir_mod.py
changeset 17104 5a9acb0b2086
parent 16754 d94c470c3deb
child 17838 d51364b318ea
--- a/mercurial/hgweb/hgwebdir_mod.py	Mon Jun 18 18:19:28 2012 +0200
+++ b/mercurial/hgweb/hgwebdir_mod.py	Thu Jun 21 12:50:15 2012 +0200
@@ -23,10 +23,10 @@
     repos = []
     for prefix, root in cleannames(paths):
         roothead, roottail = os.path.split(root)
-        # "foo = /bar/*" makes every subrepo of /bar/ to be
-        # mounted as foo/subrepo
-        # and "foo = /bar/**" also recurses into the subdirectories,
-        # remember to use it without working dir.
+        # "foo = /bar/*" or "foo = /bar/**" lets every repo /bar/N in or below
+        # /bar/ be served as as foo/N .
+        # '*' will not search inside dirs with .hg (except .hg/patches),
+        # '**' will search inside dirs with .hg (and thus also find subrepos).
         try:
             recurse = {'*': False, '**': True}[roottail]
         except KeyError: