Mercurial > public > mercurial-scm > hg-stable
diff hgext/factotum.py @ 19614:1d50c69c1f0a
factotum: clean up keychain for multiple hg repository authentication
author | Jeff Sickel <jas@corpus-callosum.com> |
---|---|
date | Mon, 12 Aug 2013 17:44:31 -0500 |
parents | c1d23b4a66d5 |
children | be561a622100 |
line wrap: on
line diff
--- a/hgext/factotum.py Mon Aug 12 17:36:49 2013 -0500 +++ b/hgext/factotum.py Mon Aug 12 17:44:31 2013 -0500 @@ -101,7 +101,7 @@ user, passwd = auth.get('username'), auth.get('password') if not user or not passwd: if not prefix: - prefix = '*' + prefix = realm.split(' ')[0].lower() params = 'service=%s prefix=%s' % (_service, prefix) if user: params = '%s user=%s' % (params, user)