mercurial/hgweb/hgwebdir_mod.py
changeset 17838 d51364b318ea
parent 17104 5a9acb0b2086
child 18046 40374059d227
child 18191 e4f17956f45a
equal deleted inserted replaced
17837:b623e323c561 17838:d51364b318ea
   291                     try:
   291                     try:
   292                         d = (get_mtime(path), util.makedate()[1])
   292                         d = (get_mtime(path), util.makedate()[1])
   293                     except OSError:
   293                     except OSError:
   294                         continue
   294                         continue
   295 
   295 
       
   296                     # add '/' to the name to make it obvious that
       
   297                     # the entry is a directory, not a regular repository
   296                     row = dict(contact="",
   298                     row = dict(contact="",
   297                                contact_sort="",
   299                                contact_sort="",
   298                                name=name,
   300                                name=name + '/',
   299                                name_sort=name,
   301                                name_sort=name,
   300                                url=url,
   302                                url=url,
   301                                description="",
   303                                description="",
   302                                description_sort="",
   304                                description_sort="",
   303                                lastchange=d,
   305                                lastchange=d,