##// END OF EJS Templates
cleaning not needed patch
Marcin Kasperski -
r11:669009c3 default
parent child Browse files
Show More
@@ -230,19 +230,3 b' def find_user_password(self, realm, auth'
230 230
231 231 return self._pwd_handler.find_auth(self, realm, authuri)
232 232
233
234 ############################################################
235
236 # We patch httprespository.do_cmd to grab information that
237 # the request failed due to wrong auth - and clear the wrong
238 # password
239
240 orig_do_cmd = httprepository.do_cmd
241
242 @monkeypatch_method(httprepository)
243 def do_cmd(self, cmd, **args):
244 try:
245 orig_do_cmd(self, cmd, **args)
246 except util.Abort, e:
247 self.ui.debug("Authorization failed for %s\n" % self.url())
248 raise
General Comments 0
You need to be logged in to leave comments. Login now