Patchwork D885: httppasswordmgrdbproxy: specify exact arguments

login
register
mail settings
Submitter phabricator
Date Oct. 2, 2017, 4:20 p.m.
Message ID <21ec9104ca6d7ed8947d4dd4618dda00@localhost.localdomain>
Download mbox | patch
Permalink /patch/24398/
State Not Applicable
Headers show

Comments

phabricator - Oct. 2, 2017, 4:20 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGae2fcf7af409: httppasswordmgrdbproxy: specify exact arguments (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D885?vs=2297&id=2334

REVISION DETAIL
  https://phab.mercurial-scm.org/D885

AFFECTED FILES
  mercurial/ui.py

CHANGE DETAILS




To: durin42, #hg-reviewers, yuja
Cc: mercurial-devel

Patch

diff --git a/mercurial/ui.py b/mercurial/ui.py
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -146,11 +146,11 @@ 
             self._mgr = urlreq.httppasswordmgrwithdefaultrealm()
         return self._mgr
 
-    def add_password(self, *args, **kwargs):
-        return self._get_mgr().add_password(*args, **kwargs)
+    def add_password(self, realm, uris, user, passwd):
+        return self._get_mgr().add_password(realm, uris, user, passwd)
 
-    def find_user_password(self, *args, **kwargs):
-        return self._get_mgr().find_user_password(*args, **kwargs)
+    def find_user_password(self, realm, uri):
+        return self._get_mgr().find_user_password(realm, uri)
 
 def _catchterm(*args):
     raise error.SignalInterrupt