diff mercurial/scmutil.py @ 17104:5a9acb0b2086

help: improve hgweb help The existing help only walked through an example. Now we first explain the basic rules and then show an example. The 'collections' example and description only cause confusion and is removed. Bikeshedded by Patrick Mezard <patrick@mezard.eu>
author Mads Kiilerich <mads@kiilerich.com>
date Thu, 21 Jun 2012 12:50:15 +0200
parents 419966126a05
children 87e8440964a0
line wrap: on
line diff
--- a/mercurial/scmutil.py	Mon Jun 18 18:19:28 2012 +0200
+++ b/mercurial/scmutil.py	Thu Jun 21 12:50:15 2012 +0200
@@ -350,7 +350,8 @@
         raise util.Abort('%s not under root' % myname)
 
 def walkrepos(path, followsym=False, seen_dirs=None, recurse=False):
-    '''yield every hg repository under path, recursively.'''
+    '''yield every hg repository under path, always recursively.
+    The recurse flag will only control recursion into repo working dirs'''
     def errhandler(err):
         if err.filename == path:
             raise err