Mercurial > public > mercurial-scm > hg
comparison mercurial/hgweb.py @ 1649:beb7da710c8a
hgweb: fix breakage on manifest subdirs from path cleaning
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 29 Jan 2006 11:17:54 +1300 |
parents | 8e9c203946ae |
children | f2ebd5251e88 |
comparison
equal
deleted
inserted
replaced
1648:80640ef93aec | 1649:beb7da710c8a |
---|---|
578 mff = man.readflags(mn) | 578 mff = man.readflags(mn) |
579 | 579 |
580 files = {} | 580 files = {} |
581 | 581 |
582 p = path[1:] | 582 p = path[1:] |
583 if p and p[-1] != "/": | |
584 p += "/" | |
583 l = len(p) | 585 l = len(p) |
584 | 586 |
585 for f,n in mf.items(): | 587 for f,n in mf.items(): |
586 if f[:l] != p: | 588 if f[:l] != p: |
587 continue | 589 continue |