##// END OF EJS Templates
remotenames: check the remotepath with url containing user information too...
Pulkit Goyal -
r38001:bbdc1bc5 default
parent child Browse files
Show More
@@ -112,8 +112,8 b' def activepath(repo, remote):'
112 # represent the remotepath with user defined path name if exists
112 # represent the remotepath with user defined path name if exists
113 for path, url in repo.ui.configitems('paths'):
113 for path, url in repo.ui.configitems('paths'):
114 # remove auth info from user defined url
114 # remove auth info from user defined url
115 url = util.removeauth(url)
115 noauthurl = util.removeauth(url)
116 if url == rpath:
116 if url == rpath or noauthurl == rpath:
117 rpath = path
117 rpath = path
118 break
118 break
119
119
General Comments 0
You need to be logged in to leave comments. Login now