Changeset bb7d19eb4ddb…
Parent b92345fcc4d0…
by
Changes to one file · Browse files at bb7d19eb4ddb Showing diff from parent b92345fcc4d0 Diff from another changeset...
@@ -686,7 +686,7 @@ cmdline.append('--insecure')
if user:
cleanurl = hglib.removeauth(cururl)
- res = hglib.readauthforuri(self.repo.ui, cleanurl)
+ res = hglib.readauthforuri(self.repo.ui, cleanurl, user)
if res:
group, auth = res
if auth.get('username'):
@@ -1198,7 +1198,7 @@
# if the already user has an [auth] configuration for this URL, use it
cleanurl = hglib.removeauth(origurl)
- res = hglib.readauthforuri(repo.ui, cleanurl)
+ res = hglib.readauthforuri(repo.ui, cleanurl, user)
if res:
self.alias, auth = res
else:
|
Loading...