changeset 37981 | bbdc1bc56e58 |
parent 37639 | 0e50dda7e9c1 |
child 40420 | 94c0421d67a0 |
--- a/mercurial/logexchange.py Fri May 11 09:16:26 2018 -0700 +++ b/mercurial/logexchange.py Sun Apr 29 22:39:45 2018 +0530 @@ -112,8 +112,8 @@ # represent the remotepath with user defined path name if exists for path, url in repo.ui.configitems('paths'): # remove auth info from user defined url - url = util.removeauth(url) - if url == rpath: + noauthurl = util.removeauth(url) + if url == rpath or noauthurl == rpath: rpath = path break