Mercurial > hg-stable
changeset 11117:dd543e8da87e
subrepo: fix 2.5ism in url parsing
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Fri, 07 May 2010 14:19:14 -0500 |
parents | 2a857f9d2c6c |
children | 24f904ae5a26 |
files | mercurial/subrepo.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/subrepo.py Thu May 06 15:17:00 2010 -0300 +++ b/mercurial/subrepo.py Fri May 07 14:19:14 2010 -0500 @@ -145,7 +145,7 @@ parent = parent[:-1] r = urlparse.urlparse(parent + '/' + source) r = urlparse.urlunparse((r[0], r[1], - posixpath.normpath(r.path), + posixpath.normpath(r[2]), r[3], r[4], r[5])) return r return posixpath.normpath(os.path.join(parent, repo._subsource))