Mercurial > hg > easyhg
comparison easyhg.py @ 455:856da063d76e
Remove stale auth cache files
author | Chris Cannam |
---|---|
date | Wed, 29 Jun 2011 16:18:47 +0100 |
parents | f2ab2cdd000b |
children | 2f25cc7b81fa |
comparison
equal
deleted
inserted
replaced
454:6f5acaf27d60 | 455:856da063d76e |
---|---|
331 authinfo = urllib2.HTTPPasswordMgrWithDefaultRealm.find_user_password( | 331 authinfo = urllib2.HTTPPasswordMgrWithDefaultRealm.find_user_password( |
332 self, realm, authuri) | 332 self, realm, authuri) |
333 user, passwd = authinfo | 333 user, passwd = authinfo |
334 | 334 |
335 if user and passwd: | 335 if user and passwd: |
336 self.ui.write("note: user and passwd both provided\n") | |
336 return orig_find(self, realm, authuri) | 337 return orig_find(self, realm, authuri) |
337 | 338 |
338 self.ui.write("want username and/or password for %s\n" % authuri) | 339 self.ui.write("want username and/or password for %s\n" % authuri) |
339 | 340 |
340 dialog = EasyHgAuthDialog(self.ui, authuri, user, passwd) | 341 dialog = EasyHgAuthDialog(self.ui, authuri, user, passwd) |