# HG changeset patch # User Jeff Hammel # Date 1376177157 25200 # Node ID 96859ac4d23fac3809b7821c520d63b076ae2214 # Parent 56fa913491a1b6600b8c3023ad29b36029aed4a6 python/setup_repo.py diff -r 56fa913491a1 -r 96859ac4d23f python/setup_repo.py --- 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)