# HG changeset patch # User Marcin Kasperski # Date 2009-11-19 23:35:46 # Node ID 669009c3672c1257ee7b4299a521b4a50897a00a # Parent d756472420f14157a95b80baa23ad6c8abe0af06 cleaning not needed patch diff --git a/mercurial_keyring.py b/mercurial_keyring.py --- a/mercurial_keyring.py +++ b/mercurial_keyring.py @@ -230,19 +230,3 @@ def find_user_password(self, realm, auth return self._pwd_handler.find_auth(self, realm, authuri) - -############################################################ - -# We patch httprespository.do_cmd to grab information that -# the request failed due to wrong auth - and clear the wrong -# password - -orig_do_cmd = httprepository.do_cmd - -@monkeypatch_method(httprepository) -def do_cmd(self, cmd, **args): - try: - orig_do_cmd(self, cmd, **args) - except util.Abort, e: - self.ui.debug("Authorization failed for %s\n" % self.url()) - raise