##// END OF EJS Templates
A few pro=py3 changes
Marcin Kasperski -
r271:fb63e887 default
parent child Browse files
Show More
@@ -542,6 +542,8 b' class HTTPPasswordHandler(object):'
542 where url is mercurial.util.url object already stripped of all those
542 where url is mercurial.util.url object already stripped of all those
543 params.
543 params.
544 """
544 """
545 import pdb; pdb.set_trace()
546
545 # mercurial.util.url, rather handy url parser
547 # mercurial.util.url, rather handy url parser
546 parsed_url = util.url(authuri)
548 parsed_url = util.url(authuri)
547 parsed_url.query = ''
549 parsed_url.query = ''
@@ -571,6 +573,10 b' def find_user_password(self, realm, auth'
571 Passwords are saved in gnome keyring, OSX/Chain or other platform
573 Passwords are saved in gnome keyring, OSX/Chain or other platform
572 specific storage and keyed by the repository url
574 specific storage and keyed by the repository url
573 """
575 """
576 # In sync with hg 5.0
577 assert isinstance(realm, (type(None), str))
578 assert isinstance(authuri, str)
579
574 # Extend object attributes
580 # Extend object attributes
575 if not hasattr(self, '_pwd_handler'):
581 if not hasattr(self, '_pwd_handler'):
576 self._pwd_handler = HTTPPasswordHandler()
582 self._pwd_handler = HTTPPasswordHandler()
General Comments 0
You need to be logged in to leave comments. Login now