Show More
@@ -70,7 +70,11 b' def readauthforuri(ui, uri, user):' | |||||
70 | gdict[setting] = val |
|
70 | gdict[setting] = val | |
71 |
|
71 | |||
72 | # Find the best match |
|
72 | # Find the best match | |
73 | scheme, hostpath = uri.split('://', 1) |
|
73 | if '://' in uri: | |
|
74 | scheme, hostpath = uri.split('://', 1) | |||
|
75 | else: | |||
|
76 | # py2.4.1 doesn't provide the full URI | |||
|
77 | scheme, hostpath = 'http', uri | |||
74 | bestuser = None |
|
78 | bestuser = None | |
75 | bestlen = 0 |
|
79 | bestlen = 0 | |
76 | bestauth = None |
|
80 | bestauth = None |
General Comments 0
You need to be logged in to leave comments.
Login now