mercurial/hgweb/webcommands.py
changeset 36714 250f3168d907
parent 36553 24897a9d18ac
child 36863 1a1972b1a1ff
equal deleted inserted replaced
36713:2442927cdd96 36714:250f3168d907
   493 
   493 
   494     files = {}
   494     files = {}
   495     dirs = {}
   495     dirs = {}
   496     parity = paritygen(web.stripecount)
   496     parity = paritygen(web.stripecount)
   497 
   497 
   498     if path and path[-1] != "/":
   498     if path and path[-1:] != "/":
   499         path += "/"
   499         path += "/"
   500     l = len(path)
   500     l = len(path)
   501     abspath = "/" + path
   501     abspath = "/" + path
   502 
   502 
   503     for full, n in mf.iteritems():
   503     for full, n in mf.iteritems():