equal
deleted
inserted
replaced
23 user, passwd = authinfo |
23 user, passwd = authinfo |
24 if user and passwd: |
24 if user and passwd: |
25 self._writedebug(user, passwd) |
25 self._writedebug(user, passwd) |
26 return (user, passwd) |
26 return (user, passwd) |
27 |
27 |
28 if not user: |
28 if not user or not passwd: |
29 res = httpconnectionmod.readauthforuri(self.ui, authuri) |
29 res = httpconnectionmod.readauthforuri(self.ui, authuri) |
30 if res: |
30 if res: |
31 group, auth = res |
31 group, auth = res |
32 user, passwd = auth.get('username'), auth.get('password') |
32 user, passwd = auth.get('username'), auth.get('password') |
33 self.ui.debug("using auth.%s.* for authentication\n" % group) |
33 self.ui.debug("using auth.%s.* for authentication\n" % group) |