mercurial/hgweb/hgwebdir_mod.py
changeset 47627 aceede7c4929
parent 46819 d4ba4d51f85f
child 47802 de2e04fe4897
equal deleted inserted replaced
47626:1fdf315eff66 47627:aceede7c4929
    68         try:
    68         try:
    69             recurse = {b'*': False, b'**': True}[roottail]
    69             recurse = {b'*': False, b'**': True}[roottail]
    70         except KeyError:
    70         except KeyError:
    71             repos.append((prefix, root))
    71             repos.append((prefix, root))
    72             continue
    72             continue
    73         roothead = os.path.normpath(os.path.abspath(roothead))
    73         roothead = os.path.normpath(util.abspath(roothead))
    74         paths = scmutil.walkrepos(roothead, followsym=True, recurse=recurse)
    74         paths = scmutil.walkrepos(roothead, followsym=True, recurse=recurse)
    75         repos.extend(urlrepos(prefix, roothead, paths))
    75         repos.extend(urlrepos(prefix, roothead, paths))
    76     return repos
    76     return repos
    77 
    77 
    78 
    78