##// END OF EJS Templates
readauthforuri has been moved into new httpconnection module
Steve Borho -
r72:a6e45501 default
parent child Browse files
Show More
@@ -233,8 +233,12 b' class HTTPPasswordHandler(object):'
233 local_passwordmgr = passwordmgr(local_ui)
233 local_passwordmgr = passwordmgr(local_ui)
234 auth_token = local_passwordmgr.readauthtoken(base_url)
234 auth_token = local_passwordmgr.readauthtoken(base_url)
235 except AttributeError:
235 except AttributeError:
236 # hg 1.8
236 try:
237 from mercurial.url import readauthforuri
237 # hg 1.8
238 from mercurial.url import readauthforuri
239 except ImportError:
240 # hg 1.9
241 from mercurial.httpconnection import readauthforuri
238 res = readauthforuri(local_ui, base_url)
242 res = readauthforuri(local_ui, base_url)
239 if res:
243 if res:
240 group, auth_token = res
244 group, auth_token = res
General Comments 0
You need to be logged in to leave comments. Login now