Commits

Marcin Kasperski committed 669009c

cleaning not needed patch

Comments (0)

Files changed (1)

mercurial_keyring.py

 
     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