Mercurial > hg > config
changeset 455:81a237bcf3b6
python/setup_repo.py
author | Jeff Hammel <jhammel@mozilla.com> |
---|---|
date | Sat, 10 Aug 2013 17:57:48 -0700 |
parents | f7c49c61f092 |
children | 7f1dfb36a0fe |
files | python/setup_repo.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/python/setup_repo.py Sat Aug 10 17:53:33 2013 -0700 +++ b/python/setup_repo.py Sat Aug 10 17:57:48 2013 -0700 @@ -52,8 +52,9 @@ """ # parse remote URL - host, netloc, path, query, anchor = urlparse.urlsplit(remote_url) + scheme, netloc, path, query, anchor = urlparse.urlsplit(remote_url) path = path.rstrip('/') + host = netloc # -> host, port, etc # derive name if name is None: