# HG changeset patch # User Matt Mackall # Date 2006-01-28 22:17:54 # Node ID beb7da710c8a8cb560b64cc7c5150339f824cfae # Parent 80640ef93aec17ffb6c2826076c99f7960e4a33f hgweb: fix breakage on manifest subdirs from path cleaning diff --git a/mercurial/hgweb.py b/mercurial/hgweb.py --- a/mercurial/hgweb.py +++ b/mercurial/hgweb.py @@ -580,6 +580,8 @@ class hgweb(object): files = {} p = path[1:] + if p and p[-1] != "/": + p += "/" l = len(p) for f,n in mf.items():