changeset 36651 | 6b1eb4c610b4 |
parent 36426 | 23d12524a202 |
child 38393 | 5f9d436cd3b7 |
--- a/mercurial/httpconnection.py Sat Mar 03 14:44:41 2018 -0500 +++ b/mercurial/httpconnection.py Sat Mar 03 14:24:21 2018 -0500 @@ -14,6 +14,7 @@ from .i18n import _ from . import ( + pycompat, util, ) @@ -62,6 +63,7 @@ # moved here from url.py to avoid a cycle def readauthforuri(ui, uri, user): + uri = pycompat.bytesurl(uri) # Read configuration groups = {} for key, val in ui.configitems('auth'):