Mercurial > hg
diff mercurial/url.py @ 41450:d437d1e2a711
url: convert some variables back to bytes
Differential Revision: https://phab.mercurial-scm.org/D5735
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 29 Jan 2019 13:25:21 -0500 |
parents | bc776c31c093 |
children | 349c8879becd |
line wrap: on
line diff
--- a/mercurial/url.py Tue Jan 29 13:24:20 2019 -0500 +++ b/mercurial/url.py Tue Jan 29 13:25:21 2019 -0500 @@ -62,6 +62,7 @@ assert isinstance(authuri, str) authinfo = self.passwddb.find_user_password(realm, authuri) user, passwd = authinfo + user, passwd = pycompat.bytesurl(user), pycompat.bytesurl(passwd) if user and passwd: self._writedebug(user, passwd) return (user, passwd)