##// END OF EJS Templates
subrepo: fix 2.5ism in url parsing
Matt Mackall -
r11117:dd543e8d default
parent child Browse files
Show More
@@ -145,7 +145,7 b' def _abssource(repo, push=False):'
145 parent = parent[:-1]
145 parent = parent[:-1]
146 r = urlparse.urlparse(parent + '/' + source)
146 r = urlparse.urlparse(parent + '/' + source)
147 r = urlparse.urlunparse((r[0], r[1],
147 r = urlparse.urlunparse((r[0], r[1],
148 posixpath.normpath(r.path),
148 posixpath.normpath(r[2]),
149 r[3], r[4], r[5]))
149 r[3], r[4], r[5]))
150 return r
150 return r
151 return posixpath.normpath(os.path.join(parent, repo._subsource))
151 return posixpath.normpath(os.path.join(parent, repo._subsource))
General Comments 0
You need to be logged in to leave comments. Login now