Show More
@@ -447,11 +447,9 b' class HTTPPasswordHandler(object):' | |||
|
447 | 447 | found. username and password can be None (if unset), if prefix |
|
448 | 448 | is not found, url itself is returned. |
|
449 | 449 | """ |
|
450 | base_url = bytes(parsed_url) | |
|
451 | ||
|
452 | 450 | from mercurial.httpconnection import readauthforuri |
|
453 |
ui.debug(b"keyring: checking for hgrc info about url %s, user %s\n" % ( |
|
|
454 |
res = readauthforuri(ui, |
|
|
451 | ui.debug(b"keyring: checking for hgrc info about url %s, user %s\n" % (parsed_url, user)) | |
|
452 | res = readauthforuri(ui, str(parsed_url), user) | |
|
455 | 453 | # If it user-less version not work, let's try with added username to handle |
|
456 | 454 | # both config conventions |
|
457 | 455 | if (not res) and user: |
@@ -472,7 +470,7 b' class HTTPPasswordHandler(object):' | |||
|
472 | 470 | password = None |
|
473 | 471 | prefix = None |
|
474 | 472 | |
|
475 |
password_url = self.password_url( |
|
|
473 | password_url = self.password_url(str(parsed_url), prefix) | |
|
476 | 474 | |
|
477 | 475 | ui.debug(b"keyring: Password url: %s, user: %s, password: %s (prefix: %s)\n" % ( |
|
478 | 476 | password_url, username or b'', b'********' if password else b'', prefix or b'')) |
General Comments 0
You need to be logged in to leave comments.
Login now