Mercurial > hg
changeset 4347:70d1491d3db2
Merge with crew
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Sun, 15 Apr 2007 18:42:51 -0500 |
parents | c593e502f7fd (diff) ec64f263e49a (current diff) |
children | 69109aa0cddd |
files | |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py Thu Apr 12 16:05:28 2007 -0700 +++ b/mercurial/hgweb/hgweb_mod.py Sun Apr 15 18:42:51 2007 -0500 @@ -703,7 +703,7 @@ # strip leading / pi = pi[1:] if pi: - root = root[:-len(pi)] + root = root[:root.rfind(root, pi)] if req.env.has_key('REPO_NAME'): rn = req.env['REPO_NAME'] + '/' root += rn