changeset 4349:69109aa0cddd

Merge with stable
author Matt Mackall <mpm@selenic.com>
date Mon, 16 Apr 2007 09:52:37 -0500
parents 70d1491d3db2 (current diff) b633f470944e (diff)
children 10edaed7f909 1ccd3b9a7b1f
files mercurial/hgweb/hgweb_mod.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/hgweb/hgweb_mod.py	Sun Apr 15 18:42:51 2007 -0500
+++ b/mercurial/hgweb/hgweb_mod.py	Mon Apr 16 09:52:37 2007 -0500
@@ -703,7 +703,7 @@
                     # strip leading /
                     pi = pi[1:]
                     if pi:
-                        root = root[:root.rfind(root, pi)]
+                        root = root[:root.rfind(pi)]
                     if req.env.has_key('REPO_NAME'):
                         rn = req.env['REPO_NAME'] + '/'
                         root += rn