Mercurial > public > mercurial-scm > hg-stable
diff mercurial/hgweb/hgwebdir_mod.py @ 6284:c93b6c0e6e84
Allow hgwebdir collections to follow symlinks.
author | Eric Hopper <hopper@omnifarious.org> |
---|---|
date | Sat, 15 Mar 2008 12:42:34 -0700 |
parents | 2eb18c780287 |
children | c86207d41512 |
line wrap: on
line diff
--- a/mercurial/hgweb/hgwebdir_mod.py Sat Mar 15 22:03:18 2008 -0300 +++ b/mercurial/hgweb/hgwebdir_mod.py Sat Mar 15 12:42:34 2008 -0700 @@ -55,7 +55,7 @@ self.repos.extend(cleannames(cp.items('paths'))) if cp.has_section('collections'): for prefix, root in cp.items('collections'): - for path in util.walkrepos(root): + for path in util.walkrepos(root, followsym = True): repo = os.path.normpath(path) name = repo if name.startswith(prefix):