diff -r 113d0b23321a -r 2c019aac6b99 hgext/factotum.py --- a/hgext/factotum.py Wed Jun 01 22:58:57 2016 +0200 +++ b/hgext/factotum.py Sun Jun 05 23:36:23 2016 +0200 @@ -102,8 +102,7 @@ @monkeypatch_method(passwordmgr) def find_user_password(self, realm, authuri): - user, passwd = urlreq.httppasswordmgrwithdefaultrealm.find_user_password( - self, realm, authuri) + user, passwd = self.passwddb.find_user_password(realm, authuri) if user and passwd: self._writedebug(user, passwd) return (user, passwd)