Commits

Marcin Kasperski committed eff81be

Fixes in debug message

Comments (0)

Files changed (1)

mercurial_keyring.py

         after_bad_auth = (self.last_reply \
                           and (self.last_reply['realm'] == realm) \
                           and (self.last_reply['authuri'] == authuri))
-        _debug(ui, _("Working after bad authentication, cached passwords not used"))
+        if after_bad_auth:
+            _debug(ui, _("Working after bad authentication, cached passwords not used %s") % str(self.last_reply))
 
         # Strip arguments to get actual remote repository url.
         base_url = self.canonical_url(authuri)