D885: httppasswordmgrdbproxy: specify exact arguments
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Mon Oct 2 16:20:58 UTC 2017
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
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
To: durin42, #hg-reviewers, yuja
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list