Changeset 697fd2f42a54…
Parent a99542763aae…
by
Changes to 2 files · Browse files at 697fd2f42a54 Showing diff from parent a99542763aae Diff from another changeset...
@@ -626,7 +626,7 @@ if self.repo.ui.configbool('insecurehosts', host):
cmdline.append('--insecure')
if user:
- cleanurl = url.removeauth(cururl)
+ cleanurl = hglib.removeauth(cururl)
res = url.readauthforuri(self.repo.ui, cleanurl)
if res:
group, auth = res
@@ -1033,7 +1033,7 @@
user, host, port, folder, passwd, scheme = parseurl(origurl)
if (user or passwd) and scheme in ('http', 'https'):
- cleanurl = url.removeauth(origurl)
+ cleanurl = hglib.removeauth(origurl)
def showurl(showclean):
newurl = showclean and cleanurl or safeurl
self.urllabel.setText(hglib.tounicode(newurl))
@@ -1116,7 +1116,7 @@ ~Qt.WindowContextHelpButtonHint)
# if the already user has an [auth] configuration for this URL, use it
- cleanurl = url.removeauth(origurl)
+ cleanurl = hglib.removeauth(origurl)
res = url.readauthforuri(repo.ui, cleanurl)
if res:
self.alias, auth = res
|
Loading...