Mercurial > hg > config
changeset 451:96859ac4d23f
python/setup_repo.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 10 Aug 2013 16:25:57 -0700 |
parents | 56fa913491a1 |
children | 7d6bd51f0323 |
files | python/setup_repo.py |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/python/setup_repo.py Sat Aug 10 16:22:23 2013 -0700 +++ b/python/setup_repo.py Sat Aug 10 16:25:57 2013 -0700 @@ -52,7 +52,10 @@ # parse remote URL host, netloc, path, query, anchor = urlparse.urlsplit(remote_url) - if options.remote_path: + if remote_path: + + # split off remote host and path + # XXX is a separate host necessary? remote_host = host if ':' in remote_path: remote_host, remote_path = remote_path.split(':', 1)